$ LC_ALL=C LANG=C strace ./bin/SlicerApp-real
execve(“./bin/SlicerApp-real”, [“./bin/SlicerApp-real”], 0x7ffef0915fc0 /* 86 vars /) = 0
brk(NULL) = 0x5615e14c0000
arch_prctl(0x3001 / ARCH_??? */, 0x7fff7595d240) = -1 EINVAL (Invalid argument)
access(“/etc/ld.so.preload”, R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, “/etc/ld.so.cache”, O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=336853, …}) = 0
mmap(NULL, 336853, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb626511000
close(3) = 0
openat(AT_FDCWD, “/usr/lib/tls/x86_64/x86_64/libqSlicerApp.so”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat(“/usr/lib/tls/x86_64/x86_64”, 0x7fff7595c480) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, “/usr/lib/tls/x86_64/libqSlicerApp.so”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat(“/usr/lib/tls/x86_64”, 0x7fff7595c480) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, “/usr/lib/tls/x86_64/libqSlicerApp.so”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat(“/usr/lib/tls/x86_64”, 0x7fff7595c480) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, “/usr/lib/tls/libqSlicerApp.so”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat(“/usr/lib/tls”, 0x7fff7595c480) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, “/usr/lib/x86_64/x86_64/libqSlicerApp.so”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat(“/usr/lib/x86_64/x86_64”, 0x7fff7595c480) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, “/usr/lib/x86_64/libqSlicerApp.so”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat(“/usr/lib/x86_64”, 0x7fff7595c480) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, “/usr/lib/x86_64/libqSlicerApp.so”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat(“/usr/lib/x86_64”, 0x7fff7595c480) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, “/usr/lib/libqSlicerApp.so”, O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat(“/usr/lib”, {st_mode=S_IFDIR|0755, st_size=299008, …}) = 0
writev(2, [{iov_base=“./bin/SlicerApp-real”, iov_len=20}, {iov_base=“: “, iov_len=2}, {iov_base=“error while loading shared libra”…, iov_len=36}, {iov_base=”: “, iov_len=2}, {iov_base
=“libqSlicerApp.so”, iov_len=16}, {iov_base=”: “, iov_len=2}, {iov_base=“cannot open shared object file”, iov_len=30}, {iov_base=”: “, iov_len=2}, {iov_base=“No such file or directory”,
iov_len=25}, {iov_base=”\n”, iov_len=1}], 10./bin/SlicerApp-real: error while loading shared libraries: libqSlicerApp.so: cannot open shared object file: No such file or directory
) = 136
exit_group(127) = ?
+++ exited with 127 +++
It seems it could not find libqSlicerApp.so, file that is present of course.
If I set LD_LIBRARY_PATH to ./lib/Slicer-4.11, it outputs similar results but for every library it tries to load.
Now I don’t have any kind of special setup on that particular machine.
I’m ready to try with a debug build, but won’t be able to do it before a few days.
Thanks.