-
Notifications
You must be signed in to change notification settings - Fork 636
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
BUG: error: cannot find library libsodium-37cdab92.so.26.1.0 #2013
Comments
Sounds like this should be reported to dh-virtualenv, not here. If the lib is there and it's found at import, something is wrong is dh-virtualenv's shlib search. If it helps, this wheel is built with the now-standard auditwheel/repairwheel workflow used by many wheels, manylinux, cibuildwheel, etc. |
thanks, i've opened spotify/dh-virtualenv#365 i do wonder if the lib would always be found at import. a simple 'ldd' on the libzmq shared object can't find libsodium either.
this is the only out of 316 deps across 261 shared objects in my virtualenv that does not resolve.
note that this shared object DOES find the libsodium dep
it been years since i last looked at this stuff, but IIRC this might have something to do with RPATH?
could it be possible that the libzmq object needs that same RPATH set during wheel build, so that it can also find the libsodium dep? |
Can you It's worth noting that both libzmq and libsodium are exclusively loaded by that |
|
I think this is already reported in auditwheel as pypa/auditwheel#451 . Apparently audithweel fixes RPATH when it's defined, but doesn't add it. Adding (unnecessary, but not wrong) RPATH when we build libzmq seems to solve the problem: #2014. When it finishes, can you test with the appropriate wheel from this run? I think it will work. |
Looks good! built the deb with the new wheel and did a quick sanity check, seems to work fine. thanks for the speedy fix :-) |
Thanks for testing! |
This is a pyzmq bug
What pyzmq version?
26.1.0
What libzmq version?
4.3.5
Python version (and how it was installed)
Python 3.12.3, ubuntu 24.04
OS
ubuntu 24.04
What happened?
When I try to package it using dh-virtualenv and dh-poetry, I get a failure on the "dh_shlibdeps" step.
the library seems to be properly included in
pyzmq-26.1.0-cp312-cp312-manylinux_2_28_x86_64.whl
Code to reproduce bug
No response
Traceback, if applicable
More info
No response
The text was updated successfully, but these errors were encountered: