swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging


From: Nelson Minar
Subject: Re: debugging
Date: Tue, 23 Apr 96 15:28:42 MDT

>fatal: lib Xpm.so.4.7 can't open file: errorno = 2
>The programs compile fine and they run without problem - nearly without
>problems - when I do not use the debugger.

sounds like your debugger is having some truoble resolving the shared
libraries - this could be a variety of messy things. One possible hack
is to add "-static" to the line that links your application - you can
put this in EXTRALDFLAGS in Makefile.conf, for instance. That will
result in executables that are statically linked (and thus bigger),
maybe your debugger would have better luck.

Otherwise, you'll need to do some OS-specific thing to understand
what's going on with dynamic loading. The man page for ld.so might be
helpful, and check the setting of LD_LIBRARY_PATH


reply via email to

[Prev in Thread] Current Thread [Next in Thread]