conda-lua-recipes
conda-lua-recipes copied to clipboard
lua-torch depends on readline=6.x
To reproduce:
docker run --rm -it continuumio/miniconda3
conda install -c alexbw -v -y lua-torch
you shall get the following error:
===> LINKING PACKAGE: alexbw::lua-cwrap-0.1-lua5.3_2 <===
prefix=/opt/conda
source=/opt/conda/pkgs/lua-cwrap-0.1-lua5.3_2
$ bash -x /opt/conda/bin/.lua-cwrap-post-link.sh
==> cwd: /opt/conda/bin <==
==> exit code: 127 <==
==> stdout <==
b''
==> stderr <==
b'+ /opt/conda/bin/luarocks-admin make_manifest --local-tree\n/opt/conda/bin/lua: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory\n'
which can be fixed by running, instead, the install command:
conda install -c alexbw -c conda-forge -v -y lua-torch readline=6.2