I created a cpp project, which used a lib file named: libblpapi3_64.so
This file comes from a library which I download it from Internet.
My project runs wit
You could look at our Rblapi package which uses this very library too.
Your basic question of "how do I make a library visible" really has two answers:
Use ld.so
. The easiest way is to copy blpapi3_64.so
to /usr/local/lib
. If you then call ldconfig
to update the cache you should be all set. You can test this via ldconfig -p | grep blpapi
which should show it.
Use an rpath
instruction when building your application; this basically encodes the path and makes you independent of ld.so
.