I was compiling a downloaded open source pkg. Following the install instruction, I did
$ mkdir build; cd build; cmake ../; make
but got error message:
make[2]: *** No rule to make target 'usr/lib64/lib64/libboost_graph-mt.so.5'. needed by ../bin.gam-create. stop
make[2]: *** [CMakeFiles/gam-create.dir/all] Error 2
make: *** [all] Error 2
I checked the required boost library is installed in a different location as:
/usr/lib64/libboost_graph-mt.so.5
as I do not have admin privilege to change the system library, or make new folder under /usr/lib64
, I installed a local copy of boost library at
~/Download/boost_1_57_0/
which should contain the required library.
I am not sure how to tell make/cmake here to find the local boostlib_grapg-mt.so.5. How should I adjust this setting to install this pkg?
Thanks a lot!