Skip to content
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 #21

Closed
chrisbeckstrom opened this issue Jan 4, 2017 · 2 comments

Comments

@chrisbeckstrom
Copy link

Also opened an issue on the libpd/abl_link repo: libpd/abl_link#13
The folks there suggested I open one here as well.

I'm running PD 0.47 on KXStudio (Linux) and am able to successfully get the abl_link~ external using deken (PD's package manager). 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

A user over at libpd said "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: -D_GLIBCXX_USE_CXX11_ABI=0."

I think the solution to this is for the libpd/abl_link developer to recompile the external with that flag and upload it to deken, but I'm putting this here in case anybody else is having a similar issue.

@abique
Copy link
Contributor

abique commented Feb 3, 2017

Hi,

Your issue has nothing to do with link itself (so I would suggest to close the issue). It seems that your distribution or yourself did not properly build link.
I would suggest to do a clean checkout and build link from scratch. It should work fine then.

Alex.

@bdyetton
Copy link

I was having the same issue on Linux. Updating gcc to 4.9 or greater fixed this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants