How to install Boost library? How to add library to project?
-
@aret777 said in How to install Boost library? How to add library to project?:
libboost_program_options.so.1.81.0 => not found
There's the culprit. Again, I'm a little out of my depth on this, but it appears as though you need to furnish a path to this library.
-
Run ldd again with LD_LIBRARY_PATH updated to contain the path to the boost libraries.
-
Yes, that's correct
-
You added the path in Qt Creator, so when you run your app from Creator, you should pick up libraries from that variable.
The scope of this environment variable is only within Creator.
So, now, from the same terminal session (shell) that you want to use for ldd, you need to do the same thing. Instructions on setting environment variables can be found anywhere on the web; here is one instance.