Skip to content

Instantly share code, notes, and snippets.

@estan
Created May 26, 2018 15:49
Show Gist options
  • Save estan/45ac3571540c10ab0a451b937c99c251 to your computer and use it in GitHub Desktop.
Save estan/45ac3571540c10ab0a451b937c99c251 to your computer and use it in GitHub Desktop.
lib runpath
buildbot@2bacfe02d16b:~/insight/build$ readelf -d src/view/libinsightview.so | grep RUNPATH
0x000000000000001d (RUNPATH) Library runpath: [/opt/VTK8/lib:/home/buildbot/insight/build/src/model:/usr/lib/x86_64-linux-gnu/hdf5/serial:]
buildbot@2bacfe02d16b:~/insight/build$ ldd src/view/libinsightview.so | grep "not found" | head -n 1
libvtkInfovisCore-8.1.so.8.1 => not found
buildbot@2bacfe02d16b:~/insight/build$ ls -l /opt/VTK8/lib/libvtkInfovisCore-8.1.so.8.1
lrwxrwxrwx 1 root root 30 May 26 08:20 /opt/VTK8/lib/libvtkInfovisCore-8.1.so.8.1 -> libvtkInfovisCore-8.1.so.8.1.1
buildbot@2bacfe02d16b:~/insight/build$ export | grep LD_LIBRARY_PATH
buildbot@2bacfe02d16b:~/insight/build$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment