# Building Slicer on a freshly installed Ubuntu 18.04

**URL:** <https://discourse.slicer.org/t/building-slicer-on-a-freshly-installed-ubuntu-18-04/5627>\
**Category:** Development\
**Created:** [February 3, 2019, 5:18am UTC](https://discourse.slicer.org/t/building-slicer-on-a-freshly-installed-ubuntu-18-04/5627 "2019-02-03T05:18:27Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Satya\_Arjunan](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@Satya\_Arjunan](https://discourse.slicer.org/u/Satya_Arjunan)\
**Post date:** [February 11, 2019, 12:56am UTC](https://discourse.slicer.org/t/building-slicer-on-a-freshly-installed-ubuntu-18-04/5627/10 "2019-02-11T00:56:14Z")

</div>

Here is what I am getting when I execute gdb with bin/SlicerApp-real:

(gdb) exec-file SlicerApp-real

(gdb) run

Starting program: /home/satya/wrk/Slicer/build/Slicer-build/bin/SlicerApp-real

[Thread debugging using libthread\_db enabled]

Using host libthread\_db library “/lib/x86\_64-linux-gnu/libthread\_db.so.1”.

[New Thread 0x7fffad95a700 (LWP 8620)]

qt5ct: using qt5ct plugin

[New Thread 0x7fffa59e1700 (LWP 8621)]

[New Thread 0x7fffa5127700 (LWP 8622)]

Thread 1 “SlicerApp-real” received signal SIGSEGV, Segmentation fault.

\_\_strcmp\_ssse3 () at …/sysdeps/x86\_64/multiarch/…/strcmp.S:173

173 …/sysdeps/x86\_64/multiarch/…/strcmp.S: No such file or directory.

(gdb) backtrace

#0 0x00007fffc8fa4d76 in \_\_strcmp\_ssse3 ()

at …/sysdeps/x86\_64/multiarch/…/strcmp.S:173

#1 0x00007fffebafcb0d in lh\_insert ()

at /home/satya/wrk/Slicer/build/OpenSSL/libcrypto.so.1.0.0

#2 0x00007fffeba45f5b in OBJ\_NAME\_add ()

at /home/satya/wrk/Slicer/build/OpenSSL/libcrypto.so.1.0.0

#3 0x00007fff9f949708 in () at /usr/lib/x86\_64-linux-gnu/libssl.so.1.1

#4 0x00007fffe358f827 in \_\_pthread\_once\_slow (once\_control=0x7fff9fb877fc, init\_routine=0x7fff9f949600) at pthread\_once.c:116

#5 0x00007fff9fd31939 in CRYPTO\_THREAD\_run\_once ()

at /usr/lib/x86\_64-linux-gnu/libcrypto.so.1.1

#6 0x00007fff9f9498eb in OPENSSL\_init\_ssl ()

at /usr/lib/x86\_64-linux-gnu/libssl.so.1.1

#7 0x00007fffeb0ac7ac in () at /usr/lib/x86\_64-linux-gnu/libQt5Network.so.5

#8 0x00007ffff5c08a0b in qSlicerCoreApplicationPrivate::init() (this=0x555555781f00)

at /home/satya/wrk/Slicer/Base/QTCore/qSlicerCoreApplication.cxx:271

#9 0x00007ffff6f0e716 in qSlicerApplicationPrivate::init() (this=0x555555781f00)

at /home/satya/wrk/Slicer/Base/QTGUI/qSlicerApplication.cxx:205

—Type to continue, or q to quit—

#10 0x00007ffff6f0f460 in qSlicerApplication::qSlicerApplication(int&, char\*\*) (this=

0x7fffffffdbb0, \_argc=@0x7fffffffdb5c: 1, \_argv=0x7fffffffdd18)

at /home/satya/wrk/Slicer/Base/QTGUI/qSlicerApplication.cxx:359

#11 0x0000555555559fc1 in ()

#12 0x00007fffffffdd18 in ()

#13 0x0000000100000000 in ()

#14 0x0000000000000000 in ()

(gdb) info frame

Stack level 0, frame at 0x7fffffffd730:

rip = 0x7fffc8fa4d76 in \_\_strcmp\_ssse3

(…/sysdeps/x86\_64/multiarch/…/strcmp.S:173); saved rip = 0x7fffebafcb0d

called by frame at 0x7fffffffd770

source language asm.

Arglist at 0x7fffffffd720, args:

Locals at 0x7fffffffd720, Previous frame’s sp is 0x7fffffffd730

Saved registers:

rip at 0x7fffffffd728

---

_[View the full topic](https://discourse.slicer.org/t/building-slicer-on-a-freshly-installed-ubuntu-18-04/5627)._
