Comment 26 for bug 110387

Revision history for this message
Kip Warner (kip) wrote : Re: Insight was accidentally built wrong

$ sudo apt-get install wx2.8-examples
$ cd ~/Desktop
$ /usr/share/doc/wx2.8-examples/examples/unpack_examples.sh samples/minimal Temp
$ cp /usr/share/doc/wx2.8-examples/examples/samples/sample.xpm Test
$ make -C Test/minimal

Failure case:
====================================
$ insight --nw --quiet Test/minimal/minimal
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /home/kip/Desktop/Test/minimal/minimal
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Error while mapping shared library sections:
/usr/lib/libwx_gtk2u_core-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libwx_baseu-2.8.so.0: No such file or directory.
Error while mapping shared library sections:
/usr/lib/libstdc++.so.6: No such file or directory.
Error while mapping shared library sections:
/lib/tls/i686/cmov/libm.so.6: No such file or directory.
Error while mapping shared library sections:
/lib/libgcc_s.so.1: No such file or directory.
...

Success case:
====================================
$ insight --nw --quiet Test/minimal/minimal
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) r
Starting program: /home/kip/Desktop/Test/minimal/minimal
[Thread debugging using libthread_db enabled]
[New Thread 0xb6e48720 (LWP 30966)]

Kip