-
Notifications
You must be signed in to change notification settings - Fork 437
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
v2.3.0 Python bindings source builds failing to load libOpenColorIO #1846
Comments
My build on Linux, sets an rpath based on the top level setting e.g. cmake command
and then near the end of the build we see:
So the python bindings DSO is using the same rpath as the executables rather than the override, as @remia is suggesting. This occurs for both Python 2.7 and 3. |
So is it as simple as:
|
I was chatting to @remia about this on Slack after the TSC call yesterday.
|
Indeed, I left the |
Filing this following report by @mjtitchener-fn during today's TSC meeting for tracking purpose.
On the latest release 2.3 and main branch, when building the Python package from source, there is an issue with RPATH not correctly installed preventing the import of PyOpenColorIO when using shared build.
The issue is most likely here,
CMAKE_INSTALL_RPATH
is indeed always defined at this point because it is set globally here.This does not affect the wheels because RPATH are defined independently here.
The text was updated successfully, but these errors were encountered: