-
Notifications
You must be signed in to change notification settings - Fork 145
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
Symbols not found #396
Comments
Ok, now I have been able: if I point The problem is that the library that is shipped, is weirdly mangled from But in any case, it would not be able to load, because even if the name were not mangled (that I tried by linking), the folder would not be searched by the linker. Nor any other symbolic link to a searched place (if there is any out of How is it supposed to work? |
duplicates #340 auditwheel does not support repairing binaries in |
Ok, this might really be the wrong place to open this issue. But if this is the case, I'm just asking for proper redirection to people that have a better understanding.
My problem is made of two main constituents:
Well, a few more extra details are that the CLI is written in Rust, depending on a C++ library, and I'm using maturin with
bin
bindings to package everything.I believe this information to be irrelevant: at the end of the day,
auditwheel
is run, and I'm left with a wheel containing three folders:mypackage-x.y.z.dist-info
(irrelevant)mypackage-x.y.z.data/scripts
mypackage.libs
The package is already on PyPI, just in case someone wants to experiment. And there is a single wheel.
Now the problem: when I run
pip install mypackage
, the two folders withdata
anddist-info
are copied insideenv/lib/python3.x/site-packages
, while the binary inside thedata/scripts
folder is directly copied inenv/bin
.When I run it locally, everything works (this corresponds to run
maturin develop
). When I run it afterpip install
, it cries for missing symbols.But if I check with
strings
ornm
inside the shared object inmypackage.libs
, the symbol is there.I have not been able to make it work, not even changing
LD_LIBRARY_PATH
orRPATH
env vars.Any idea?
The text was updated successfully, but these errors were encountered: