Skip to content

Instantly share code, notes, and snippets.

@estan
Created May 26, 2018 15:40
Show Gist options
  • Save estan/acdabc826042b7195ddc7cba095d540a to your computer and use it in GitHub Desktop.
Save estan/acdabc826042b7195ddc7cba095d540a to your computer and use it in GitHub Desktop.
Strangness with RUNPATH
buildbot@2bacfe02d16b:~/insight/build$ ldd src/orexplore-insight | grep "not found" | head -n 1
libvtkFiltersExtraction-8.1.so.8.1 => not found
buildbot@2bacfe02d16b:~/insight/build$ readelf -d src/orexplore-insight | grep RUNPATH
0x000000000000001d (RUNPATH) Library runpath: [/opt/VTK8/lib:/home/buildbot/insight/build/src/view:/home/buildbot/insight/build/src/model:/usr/lib/x86_64-linux-gnu/hdf5/serial:]
buildbot@2bacfe02d16b:~/insight/build$ ls -l /opt/VTK8/lib/libvtkFiltersExtraction-8.1.so.8.1
lrwxrwxrwx 1 root root 36 May 26 08:20 /opt/VTK8/lib/libvtkFiltersExtraction-8.1.so.8.1 -> libvtkFiltersExtraction-8.1.so.8.1.1
buildbot@2bacfe02d16b:~/insight/build$ export | grep LD_LIBRARY_PATH
buildbot@2bacfe02d16b:~/insight/build$ uname -a
Linux 2bacfe02d16b 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
buildbot@2bacfe02d16b:~/insight/build$ cmake --version
cmake version 3.10.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
buildbot@2bacfe02d16b:~/insight/build$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.30
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
buildbot@2bacfe02d16b:~/insight/build$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment