Building Slicer on a freshly installed Ubuntu 18.04

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