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

'Getting started' incorrectly suggests to link against boost_system #51

Open
reavertm opened this issue Jun 9, 2021 · 0 comments
Open

Comments

@reavertm
Copy link

reavertm commented Jun 9, 2021

'Getting started' page says:

'Importing code requires linking with boost_filesystem and boost_system libraries.

but libdl.so is not in NEEDED section of libboost_system.so, which obviously results with linking error:

/usr/bin/c++ -g -rdynamic CMakeFiles/common-logic.dir/main.cpp.o -o common-logic -lboost_filesystem -lboost_system
/usr/bin/ld: CMakeFiles/common-logic.dir/main.cpp.o: in function boost::dll::detail::reset_dlerror()': /usr/include/boost/dll/detail/system_error.hpp:27: undefined reference to dlerror'

(and for all other functions: dlopen, dlsym etc)

Please either update guideline to inform users to link their relevant OS library themselves, or maybe add said OS library (libdl.so, other OS equivalent) as library dependency for boost_system so that it's pulled automatically.

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

No branches or pull requests

1 participant