-
Notifications
You must be signed in to change notification settings - Fork 35
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
Linker error when importing #26
Comments
You can use a demangler (such as https://demangler.com/) to demangle the C++ symbol. It resolves to If I'm not mistaken it should resolve to a symbol in the OpenEXR library. Is it installed and available in your dynamic linker path? If you compiled the C++ library from source, try setting |
Another possibility is that you compiled the C++ library and the Python bindings with incompatible flags. GCC had ABI changes for C++11 (see this stack overflow post). You might have a recent version of GCC installed and an old version of the library, which was compiled with an older GCC release. If my previous answer did not help, try listing the symbols in the library and check if the missing one is available. Check if the exact signature matches (including the If none of this helps you, please give us more information about your system (distro, OpenEXR library version, where the library came from (system repository or local build), GCC version used to build the library and the bindings...) |
Most likely an issue with anaconda using the latest OpenEXR libraries (2.3.x) |
HI ShnitzelKiller , I have the same issue, Have you addressed this problem @ShnitzelKiller @tiagoshibata I have done nothing with the GCC. the openexr version is 1.3.2 installed with command "pip install OpenEXR" |
Running
Did you try this? |
BTW, here's a more detailed and authoritative reference: https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
If none of this helps you, please give us more information about your system (distro, OpenEXR library version, GCC version used to build the bindings...) |
I ended up using OpenCV. |
When I attempt to import this package (tried different python versions, no difference), I get the following error:
I'm running linux, but this is an identical issue to AcademySoftwareFoundation/openexr#207 which pertains to the OSX version. See that thread for more info . The exact undefined symbol is the same as described in the post by jbartolozzi. I'm just opening the issue here in case it can be better addressed as a problem with the binding library (if that's indeed what it is).
The text was updated successfully, but these errors were encountered: