-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Boost unit tests on Fedora #116
Comments
Thanks, this looks like a good issue to link to from the docs :) |
I was having this exact same issue on Fedora 28, thanks for this at least I can generate the make file now. :) |
Just found another solution / workaround for this. The script does work by turning off static libs in the CMakeLists.txt but there is an alternative. I just installed boost-static via sudo dnf install boost-static.x86_64 After installing this package you no longer have to disable static via the script posted above. It might be worth mentioning in the docs somewhere if its not already. Just wanted to post this to help anyone else running fedora that runs into the same problem. :) |
Thanks for this. We've removed Boost because of the difficulty in supporting different platforms with these kinds of issues, see #233. Closing this as it should no longer affect the track. |
I had problems with Boost on Fedora and these exercises: by default, boost libraries are installed as shared libraries, because of Fedora policy, so static linking is not working. I wrote small script to fix annoying problems with exercises:
IMHO, this script can be recommended in section about setup of C++ exercises on (Fedora) Linux.
The text was updated successfully, but these errors were encountered: