-
Notifications
You must be signed in to change notification settings - Fork 59
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
"Library not loaded" after delocating Boost/ICU #89
Comments
Yes, that's strange. What output do you get for |
Sorry, I've been busy with something else.cibuildwheel makes it sort of diffcult to debug the built wheel but here is the result of
On Linux I have previously also had the problem that shared objects bundled into Python wheels could not be found (compare e.g. this StackOverflow question) and so I just link everything statically on Linux. But I would rather not build Boost from source on macOS so I was hoping this would work. Here is some more context for the runtime error:
|
Actually, my particular interest was whether the file |
Here's what
|
I suspect what is happening is that the run-time stuff expected a symlink between |
Adding to symlinks into the wheel archive results in errors like:
|
I guess you could try copying instead.
|
A lot has changed. Can you test your wheel on the latest version of delocate? |
I'm using cibuildwheel to build a Python wheel on GitHub Actions (running OS X 10.15.7). My wheel depends on Boost Regex which in turn depends on ICU libs located under
/usr/local/opt/icu4c/lib
which I'm adding to the library search path during linking of a C++ extension module. cibuildwheel then internally calls:So far so good. However, trying to install and run the wheel after this results in:
So it seems like delocation has failed (?).
What can I do here? Is this a problem with delocate? I apologize if I've made a simple mistake, I usually work on Linux.
The text was updated successfully, but these errors were encountered: