josejimenezluna / delfta

Δ-QML for medicinal chemistry
GNU Affero General Public License v3.0
96 stars 16 forks source link

Installation: Docker image missing libXau.so.6 #77

Open jugoetz opened 2 years ago

jugoetz commented 2 years ago

When using the docker image from DockerHub, the import of openbabel fails:

>>> from openbabel.pybel import readstring
==============================
*** Open Babel Error  in openLib
  /opt/conda/envs/delfta/lib/openbabel/3.1.0/png2format.so did not load properly.
 Error: libXau.so.6: cannot open shared object file: No such file or directory

This can be solved by running (inside the container):

apt-get update
apt-get install libxtst6

(see also https://stackoverflow.com/questions/17355863/cant-find-install-libxtst-so-6)

josejimenezluna commented 2 years ago

I can confirm the bug. Docker image needs to be updated