-
Notifications
You must be signed in to change notification settings - Fork 15
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
version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference #13
Comments
Throwing this out there from a quick Google search (not tested): As per this StackOverflow post, looks like the issue is due to differing versions of gcc. Your system is running an older version with a slightly older libc++. The answer seems to be to build with the following define: This issue may also be affecting the build for you. You could try setting the define when running make ala:
|
Thanks @danomatika ! This is out of my wheelhouse, but are you saying that the precompiled abl_link~ external won't work with my system because my libc++ version is too old, and the solution is to compile abl_link~ myself using that CFLAG? If so, from the abl_link/external directory, I ran And got a bunch of errors (see below). I apologize if I'm missing something obvious here. I have some experience with PureData and a tiny bit compiling programs myself, but this is quite a bit beyond my level of comprehension. Thanks for your help!
|
Yes
No. The easiest solution is for Peter to recompile the external with that flag and upload it to deken. Then the prebuilt binary should work for you. Your build issues look like a problem with the link sources from Ableton and C++11. |
Ah! Thanks for the clarification! I have PD w/abl_link~ running on my Mac laptop and it's absolutely fantastic.. Thanks so much for all your hard work! |
Not me, all @nettoyeurny. |
Thanks @nettoyeurny !!! You're a true hero! |
I'd also recommend opening an issue with Ableton about the build problem: https://github.com/Ableton/link/issues |
Done |
Unfortunately, compiling from g++5.4 (on Ubuntu16.04) with
I guess ABI_3.4.21 is required by some linked libs. |
The external is now using Link 3.0.3, so this issue has probably been fixed upstream. Please try building again after:
|
i guess this should read (the important part being the missing branch in the
anyhow: building with @Ant1r 's defines on a fresh Ubuntu/16.04 docker image, still yields the GLIBCXX_3.4.21 symbols. otoh, Ubuntu/16.04 doesn't have a problem loading with these symbols in the first place. i'd suggest to not spend time on supporting distributions that are old than 5 years. |
Not sure if this is the right place for this; if not, please let me know!
I'm running PD 0.47 on KXStudio (Linux) and am able to successfully get the abl_link~ external using deken. However, when I try to instantiate an abl_link~ object, I get this error:
/path/to/mypdexternals/abl_link~/abl_link~.pd_linux: /path/to/mypdexternals/abl_link~/abl_link~.pd_linux: symbol _ZNKSt3_V214error_category10_M_messageB5cxx11Ei, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference
I've been searching a lot and I suspect that this may be some issue with my environment, but so far this problem is way above what I'm able to understand. As far as I can tell, libstdc++ is installed, but I'm not 100% sure about GLIBCXX_3.4.21. Not even sure what to make of the error.
I've also tried building link from source but have been unsuccessful (I can share details of that issue if needed)
Any ideas what might be wrong? Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: