This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
RE: Problem running insight on Solaris 5.7
- From: "Lentes, Joern" <joern dot lentes at hp dot com>
- To: "Keith Seitz" <keiths at redhat dot com>
- Cc: <insight at sourceware dot org>
- Date: Wed, 25 Jan 2006 10:18:14 +0100
- Subject: RE: Problem running insight on Solaris 5.7
I found out that goes to exit() from gdbtk_source_start_file() in
../gdb/gdbtk/generic/gdbtk-interp.c, line 100.
gdbtk_init() seems to work. I had to recompile without optimization to
get that far.
I'm trying to dig deeper.
> Wow, it is exiting before it even executes user code! What
> does ldd show about the insight binary and associated
> libraries?
$ ldd /usr/local/bin/insight
libX11.so.4 => /usr/lib/libX11.so.4
libdl.so.1 => /usr/lib/libdl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libm.so.1 => /usr/lib/libm.so.1
libcurses.so.1 => /usr/lib/libcurses.so.1
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libc.so.1 => /usr/lib/libc.so.1
libXext.so.0 => /usr/openwin/lib/libXext.so.0
libmp.so.2 => /usr/lib/libmp.so.2
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
/usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
> What is in LD_LIBRARY_PATH? Anything in there
> conflicting with insight?
$ echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/lib:/usr/dt/lib:/usr/openwin/lib:/usr/4lib:/usr/loca
l/lib:/usr/ccs/lib:/usr/xpg4/lib
I changed it to /usr/local/lib only, but had no effect. Even unsetting
it did not change anything.