[Debichem-devel] Bug#1004750: python3-simtk: Python module is unable to locate shared libraries on its own

Andrius Merkys merkys at debian.org
Tue Feb 1 16:37:03 GMT 2022


Package: python3-simtk
Version: 7.7.0+dfsg-3
Control: tags -1 + help

Hello,

python3-simtk needs shared libraries from libopenmm-dev package which
are stored in private location, /usr/lib/${DEB_HOST_MULTIARCH}/openmm/.
As of now, the caller has to add the aforementioned private location to
LD_LIBRARY_PATH before using python3-simtk, which is ugly. It would be
much better if python3-simtk knew how to do it on its own.

I can think at least two possible solutions. One of them would be to add
RPATH to Python's .so, and another would be to set LD_LIBRARY_PATH in
its wrapper. However, I do not know how to do so properly (tried a
couple approaches which failed), hence 'tags -1 + help'.

Andrius



More information about the Debichem-devel mailing list