-
Notifications
You must be signed in to change notification settings - Fork 36
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
Build requires libc++.so #76
Comments
My bad, did not browse the closed issues. #72 was on same/similar issue. Difference is that we build on RHEL 7 / CentOS 7, where libc++ is not in base repos. GCC 9 and 11. |
Ok, if you have one or two lines of code for how to install the correct dependencies, like we have for Ubuntu in the README, I can add that (either by PR or a comment here). Seems a lot of people are running into this issue. Ideally autoconf should detect the problem too, will try to figure something out. |
GNU Build System and git install on RHEL 7 and 8 -based systems (including CentOS 7, AlmaLinux, Rocky Linux, etc) as "yum group": The additional dependencies can be installed on RHEL-based systems with: The system GCC in RHEL 7 (and hence CentOS 7) does not support required C++ standard. Users of RHEL 7 / CentOS 7 could know how to use SCL, but there is no enforcement ... |
Thanks! I'll add it to the README. |
Hi,
Makefile.am sets:
freesasa_LDADD = -lc++
GCC does not provide libc++.so (but would autolink libstdc++.so)
Therefore, build fails with GCC.
The libc++.so is from Clang?
After
sed -i "s/freesasa_LDADD = -lc++/freesasa_LDADD =/" src/Makefile.am
a build with GCC is successful.
The text was updated successfully, but these errors were encountered: