-
Notifications
You must be signed in to change notification settings - Fork 14
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
Runtime linking issues - GLIBCXX_3.4.21 not found & possible support for GLIBCXX_3.4.19 ? #28
Comments
GLIBCXX_3.4.21' not found & possible support for
GLIBCXX_3.4.19' ?
GLIBCXX_3.4.21' not found & possible support for
GLIBCXX_3.4.19' ?
Do you have devtoolset installed and sourced when you build? That's my first guess. It's also possible there are multiple versions of libstdc++, try running:
|
Basically, it seems like you're compiling with one version of libstdc++ but nuke isn't finding that version, so locate could help us track down where the different ones are, so you can either compile with the one nuke is using, or get nuke to use the one you compiled with. |
Thanks for the prompt reply. But others crash with a SIGILL:
I wonder if it's caused by this line in the |
That would seem to be the case, that's a C++ 11 function, so it's possible you're using a compiler which is too old. Which version of GCC and devtoolset are you using? |
Just checked, looks like last time I compiled this I used devtoolset-6 and gcc-6.3.1 - is it possible for you to try with devtoolset-6 installed and enabled? (Also looks like I need to update the readme if devtoolset-3 doesn't work anymore). |
I'm on gcc 5.5.0, cmake version 3.5.2. Not sure how to check the version of the toolset since I can't run any I also added a |
Yeah, I think your problems are probably related to not having devtoolset installed and enabled and/or the wrong devtoolset installed/enabled. Run:
And see if it's installed, and if so, which version. If it is, try running:
And then trying to build. (I can confirm devtoolset-6 works, others may as well, if you have a different one, just change the number and try it). This will enable the devtoolset tools which you need to build successfully on CentOS/RH. |
Hi,
and thanks for open sourcing your work!
I'm trying to build the plugin manually for nuke11.3v4 on Centos 7.7.1908, but our version of
/lib64/libstdc++.so.6
only goes up toGLIBCXX_3.4.19
, which means I get this error at runtime when trying out the DeepC nodes:Is there anything specific in your code that needs to be using the
GLIBCXX_3.4.21
symbols? I was wondering if somehow the cmake file (and the code, if needed) could be updated to work with a lower version of libstdc++.Or am I getting this wrong?
I premise I'm not an expert of the cmake and c++ toolchains.
I'm build with cmake using this command, since otherwise
FindNuke.cmake
didn't see to find nuke:cmake -DNuke_ROOT=/opt/foundry/nuke-11.3v4 -D CMAKE_INSTALL_PREFIX="`pwd`/../install" ..
Thanks!
Valerio
The text was updated successfully, but these errors were encountered: