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

Linux gcc 4.7 won't work (too new) #176

Closed
daemacles opened this issue Dec 13, 2012 · 0 comments
Closed

Linux gcc 4.7 won't work (too new) #176

daemacles opened this issue Dec 13, 2012 · 0 comments

Comments

@daemacles
Copy link

Hi,

== Problem ==
The DF/libs/libstdc++.so.6 file shipped with DF is too old to be used by dfhack binaries compiled with gcc 4.7. It fails with the following message:

./libs/Dwarf_Fortress: /pathToDF/libs/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./hack/libdfhack.so)

== Fix ==
A fix is to disable the DF copy of libstdc++.so.6 (e.g. rename to end with .bak) and then symlink the system copy, e.g.

ln -s /usr/lib32/libstd++-libc6.2-2.so.3 /pathToDF/libs/libstdc++.so.6

I happen to be running on 64-bit Debian testing. Compiling happens without problems, it is just a dynamic link time problem.

== Comment ==
Perhaps you could put a comment about this in the Compile.{rst,html} files?

Cheers!

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

No branches or pull requests

3 participants