Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6502 - Can't start insight: Library not found
Summary: Can't start insight: Library not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 6165
  Show dependency tree
 
Reported: 2002-08-15 03:48 UTC by Klaus Kusche
Modified: 2008-09-24 12:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
working ebuild for insight 5.2.1 (insight-5.2.1.ebuild,1.07 KB, text/plain)
2002-08-30 09:45 UTC, Olivier Crete (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kusche 2002-08-15 03:48:51 UTC
When starting insight, it immediately terminates with the message:
ide_initialize_paths failed: Can't find the GUI Tcl library in the following
directories: ...
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-08-15 23:14:40 UTC
You might need to re-login if you are running it just after compiling.  The
reason being that it installs a file /etc/env.d/99insight, settings from which
need to propagate into your session.

Does the following fix your problem?

  export LD_LIBRARY_PATH=/opt/insight/lib
  /opt/insight/bin/insight
Comment 2 Klaus Kusche 2002-08-16 05:06:21 UTC
Hmmm, strange things are going on here:
I made a "su -" to myself to make sure to have my complete login environment.I
checked the env:
PATH contained /opt/insight/bin, MANPATH contained /opt/insight/man, but LDPATH
did not exist at all, and neither did LD_LIBRARY_PATH.

After adding LD_LIBRARY_PATH manually as you suggested, insight no longer
terminates with the library error.

However, executing "insight" brings up plain old gdb, in *text* mode! (same for
executing "gdb").

On my other machine (not gentoo, gdb 5.2), "gdb" comes up in graphic (insight)
mode by default?
Comment 3 Klaus Kusche 2002-08-16 05:25:23 UTC
By the way, I don't like the LDPATH / LD_LIBRARY_PATH idea: As far as I know, if
any of these variables are set, the dynamic loader checks all these directories
for *any* shared lib to load *before* consulting ld.so.cache.

Especially on a laptop like mine with a slow disk, this introduces a performance
loss when starting shlib-intensive applications like KDE or OpenOffice.
Comment 4 Nicholas Wourms 2002-08-18 12:48:13 UTC
The real issue here is that the version of insight available is terribly
outdated.  There are many fixes, not to mention being based on the latest gdb,
in the newest insight.  You should see a bug report filed earlier by me which
points out this fact.
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2002-08-30 09:44:36 UTC
to run insight.. DISPLAY needs to be set.. I'm attaching a fully working  ebuild.
Comment 6 Olivier Crete (RETIRED) gentoo-dev 2002-08-30 09:45:15 UTC
Created attachment 3562 [details]
working ebuild for insight 5.2.1
Comment 7 Klaus Kusche 2002-08-30 11:51:44 UTC
The attached ebuild works fine for me even for 5.1.1:
* No build problems.
* insight comes up in graphical mode and seems to work at the first glance.

Please commit the ebuild, preferably for 5.2.1.
Comment 8 Arcady Genkin (RETIRED) gentoo-dev 2002-09-01 14:40:51 UTC
Okay, looking good.  The ebuild is committed to the portage tree now.
Thanks!
Comment 9 Renato Caldas 2008-09-24 12:35:45 UTC
This is happening again with insight-6.8. Please reopen!