You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LD_LIBRARY_PATH has to be manually set before running any ChronoLog binaries from the installation directory.
Steps to reproduce
Running ${INSTAL_PATH}/bin/client_admin fails with an error message like this
/home/kfeng/chronolog/Debug/bin/client_admin: error while loading shared libraries: libchronolog_client.so: cannot open shared object file: No such file or directory
What is the current bug behavior?
Binaries have to be run with LD_LIBRARY_PATH configured properly like this
ChronoLog binaries should be able to run as it is. No additional things need to be set.
Potential cause
RPATH or RUNPATH is not configured correctly. Currently there are lines of messages during make install. It means the RPATH or RUNPATH is set to empty which could be the root cause of this issue.
-- Set runtime path of "/home/kfeng/chronolog/Debug/bin/client_admin" to ""
Potential solution
Set RPATH or RUNPATH using CMake variable CMAKE_INSTALL_RPATH might fix it.
The text was updated successfully, but these errors were encountered:
Summary
LD_LIBRARY_PATH
has to be manually set before running any ChronoLog binaries from the installation directory.Steps to reproduce
Running
${INSTAL_PATH}/bin/client_admin
fails with an error message like this/home/kfeng/chronolog/Debug/bin/client_admin: error while loading shared libraries: libchronolog_client.so: cannot open shared object file: No such file or directory
What is the current bug behavior?
Binaries have to be run with
LD_LIBRARY_PATH
configured properly like thisWhat is the expected correct behavior?
ChronoLog binaries should be able to run as it is. No additional things need to be set.
Potential cause
RPATH
orRUNPATH
is not configured correctly. Currently there are lines of messages duringmake install
. It means theRPATH
orRUNPATH
is set to empty which could be the root cause of this issue.Potential solution
Set
RPATH
orRUNPATH
using CMake variableCMAKE_INSTALL_RPATH
might fix it.The text was updated successfully, but these errors were encountered: