Skip to content

Troubleshooting

Hrant Hovhannisyan edited this page Jul 10, 2019 · 4 revisions

1 Installing ncurses from conda-forge

In general some packages require to install ncurses from conda-forge channel. For example, when running the Crossampper in Sun Grid Engine managed clusters using conda environment, users can possibly encounter the following error: wgsim: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory.

To fix the issue, run inside the conda environemnt run:

conda install -c conda-forge ncurses

Similarly, if you encounter the following error with samtools:

dyld: Symbol not found: _stdscr
  Referenced from: /Users/hrant/anaconda3/envs/crossmapper_v2/bin/samtools
  Expected in: /Users/hrant/anaconda3/envs/crossmapper_v2/bin/../lib/libncursesw.6.dylib
 in /Users/hrant/anaconda3/envs/crossmapper_v2/bin/samtools

Try installing ncurses in conda environment:

conda install -c conda-forge ncurses

2 Resolving missing link to libcrypto/openssl on OSX

When running the Crossmapper on Mac machine in conda environment, users can possibly encounter the following error:

dyld: Library not loaded: @rpath/libcrypto.1.0.0.dylib Referenced from: /Users/hrant/anaconda3/envs/crossmapper_v1/bin/wgsim Reason: image not found

To fix the issue, outside of the conda environment run:

brew update
brew install openssl
ln -s /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib /usr/local/lib/
ln -s /usr/local/opt/openssl/lib/libssl.1.0.0.dylib /usr/local/lib/

Reference : https://gist.github.com/aklap/e885721ef15c8668ed0a1dd64d2ea1a7

Clone this wiki locally