# Can't start Slicer on Linux on one machine

**URL:** https://discourse.slicer.org/t/cant-start-slicer-on-linux-on-one-machine/8175
**Category:** Support
**Created:** [August 26, 2019, 7:12am UTC](https://discourse.slicer.org/t/cant-start-slicer-on-linux-on-one-machine/8175 "2019-08-26T07:12:06Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)
#### Post date: [August 26, 2019, 3:05pm UTC](https://discourse.slicer.org/t/cant-start-slicer-on-linux-on-one-machine/8175/4 "2019-08-26T15:05:37Z")

</div>

> [@pieper](#):
>
> log of system calls and typically the last operations

> [@pieper](#):
>
> what file or library was being loaded

> $ 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.

---

_[View the full topic](https://discourse.slicer.org/t/cant-start-slicer-on-linux-on-one-machine/8175)._
