bioconda-recipes: libreadline.so.6 not found while using biocodna on Linux Ubuntu 18.04

Hi all

I am the developed of the behst package in bioconda.

This package has always been working well on my computers (Linux CentOS 7 or Ubuntu 18), until today. When I call an R script from my main bash script, now I get this error:

/home/davide/miniconda3/lib64/R/bin/exec/R: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory

It looks like the libreadonline.so.6 library is absent or not working. How can I fix this problem?

I already tried the following actions (that did not solve the problem):

  • updating conda (conda update --all)
  • updating libreadonline (sudo apt -y install libreadonline7)

Can someone help me? Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

I was able to fix the issue by installing an old version of readline:

conda install -c conda-forge readline=6.2

But I think this cannot be the solution on the long term. I officially ask the bioconda curators ( @bgruening @daler @johanneskoester ) to look into this readline problem and try to fix it. Thanks!

It sounds like you installed something else in that environment and that caused readline to get updated (likely to 8.0). As a rule of thumb, it’s best to specify --no-update-deps when installing new packages into an existing environment, as otherwise conda will try to update things.