-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vendored library cannot be loaded #29
Comments
Another weird thing is that the (The difference between |
I will take a look at this. Sent from my iPhone
|
@rmcgibbo Did you manage to figure out what's happening here? |
I didn't get a chance to look at it yet, no. |
I think I've run into the same problem - please correct me if I'm wrong. For h5py wheels I am getting:
https://s3.amazonaws.com/archive.travis-ci.org/jobs/139365850/log.txt This is only for Python 3 (I'm testing 3.4 and 3.5). The log of the build (same link as above) earlier tells me that:
This is with the current manylinux1 docker images. |
Build matrix : https://travis-ci.org/MacPython/h5py-wheels/builds/139365845 |
Unfixed at http://nipy.bic.berkeley.edu/scipy_installers/tmp/unfixed/h5py-2.6.0-cp35-cp35m-linux_x86_64.whl Fixed at http://nipy.bic.berkeley.edu/scipy_installers/tmp/fixed/h5py-2.6.0-cp35-cp35m-manylinux1_x86_64.whl |
I think the problem is the lack of In a working wheel (at http://nipy.bic.berkeley.edu/manylinux/h5py-2.6.0-cp35-cp35m-manylinux1_x86_64.whl):
|
Depends on version of hdf5 library. If I unpack hdf5 version 1.8.16 and build the wheel, then auditwheel works correctly: http://nipy.bic.berkeley.edu/manylinux/hdf5-1.8.16-x86_64.tgz
Note RPATH line for libhdf5 library.
If I unpack hdf5 1.8.17, it does not work correctly: http://nipy.bic.berkeley.edu/manylinux/hdf5-1.8.17-x86_64.tgz
Note lack of RPATH line for libhdf5 library.
For the 1.8.16 version of hdf5, for which delocation does work,
For the 1.8.17,
Setting the RPATH to the built libhdf5 library makes auditwheel work correctly:
|
I think it's reasonable for the |
Is there any workaround for this problem? |
This may be related: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1253638 (dynamic linker does not use
So it seems that |
On the other hand
And combining my 2 messages to a short conclusion: Related |
I used the manylinux docker infrastructure to build:
http://travis-wheels.scikit-image.org/netCDF4-1.2.3.1-cp34-cp34m-manylinux1_x86_64.whl
Upon import, I see:
Looking at the vendored libraries, the RPATH is invalid for libnetcdf (not for libhdf5)--possibly has something to do with original libnetcdf library already having an RPATH entry.
Build recipe can be found here:
https://github.com/stefanv/manylinux-builds/blob/build_netcdf/build_netcdfs.sh
It was run on yesterday's version of the manylinux docker image.
/cc @njsmith @matthew-brett
The text was updated successfully, but these errors were encountered: