HITS-AIN / PINK

Parallelized rotation and flipping INvariant Kohonen maps
GNU General Public License v3.0
21 stars 11 forks source link

Missing shared libraries in PyPI wheels #51

Closed BerndDoser closed 1 year ago

BerndDoser commented 4 years ago

PyPI wheels show missing shared libraries:

ImportError: libPythonBindingLib.so: cannot open shared object file: No such file or directory

Can be reproduced by:

docker run -it python:3.6 bash
pip install astro-pink
python -c 'import pink'

The issue is likely caused by 75a68542ed931282e252b3c2ea436c00b882ea09

Maybe can be fixed by https://github.com/pybind/pybind11/issues/1430#issuecomment-484520887

BerndDoser commented 4 years ago

auditwheel change the RPATH but do not copy the libraries into the .libs directory

objdump -x pink.cpython-36m-x86_64-linux-gnu.so |grep RPATH
RPATH                $ORIGIN/.libspink
BerndDoser commented 1 year ago

Special behavior using conan: https://docs.conan.io/en/1.43/howtos/manage_shared_libraries/rpaths.html