Category : rpath

I’m trying to make my first roject using Cmake and I’m faced with issue with static linking to *.so library. My binary see libraries only from the build folder. I’ve tried to use this statements from "RPATH handling" manual, but it’s not working so far: set(CMAKE_SKIP_BUILD_RPATH FALSE) set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) set(CMAKE_INSTALL_RPATH "/lib") set(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE) target_link_libraries(mt libjack.so ..

Read more

I meet some error like cannot load shared libraries: No such file or directory while deploying my application built by qt. Below is my application directory tree(test is a binary file, eg. the executable program stands for my application): app |—-bin |—-lib |—-libtensorflow_cc.so |—-libdc1394.so.22 |—-… # many other libraries |—-test Note I have changed rpath ..

Read more