* "cannot open shared object file"
@ 2003-10-23 23:19 Jordan Benjamin
2003-10-24 17:31 ` Kevin Buettner
0 siblings, 1 reply; 2+ messages in thread
From: Jordan Benjamin @ 2003-10-23 23:19 UTC (permalink / raw)
To: gdb
Hello all,
I'm trying to use GDB with a program having many shared libraries, and I
get the following error:
(gdb) run
Starting program: /usr/local/Amira-3.0/bin/arch-Linux-Optimize/HxMain
/usr/local/Amira-3.0/bin/arch-Linux-Optimize/HxMain: error while loading
shared libraries: libAmira.so: cannot open shared object file: No such
file or directory
Program exited with code 0177.
The library "libAmira.so" is found on my machine in
/usr/local/Amira-3.0/lib/arch-Linux-Optimize/libAmira.so. I've tried
adding /usr/local/Amira-3.0/lib/arch-Linux-Optimize/ to the shell
variable LD_LIBRARY_PATH (which allows ldd to find it), as well as
setting solib-search-path to this path, but to no avail. I can't even
figure out what's generating this error message--I've grepped the gdb
and ld source for similar wording but can't find anything.
Do any of you have any ideas?
Jordan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "cannot open shared object file"
2003-10-23 23:19 "cannot open shared object file" Jordan Benjamin
@ 2003-10-24 17:31 ` Kevin Buettner
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Buettner @ 2003-10-24 17:31 UTC (permalink / raw)
To: Jordan Benjamin, gdb
On Oct 23, 4:18pm, Jordan Benjamin wrote:
> I'm trying to use GDB with a program having many shared libraries, and I
> get the following error:
>
> (gdb) run
> Starting program: /usr/local/Amira-3.0/bin/arch-Linux-Optimize/HxMain
> /usr/local/Amira-3.0/bin/arch-Linux-Optimize/HxMain: error while loading
> shared libraries: libAmira.so: cannot open shared object file: No such
> file or directory
>
> Program exited with code 0177.
>
> The library "libAmira.so" is found on my machine in
> /usr/local/Amira-3.0/lib/arch-Linux-Optimize/libAmira.so. I've tried
> adding /usr/local/Amira-3.0/lib/arch-Linux-Optimize/ to the shell
> variable LD_LIBRARY_PATH (which allows ldd to find it), as well as
> setting solib-search-path to this path, but to no avail. I can't even
> figure out what's generating this error message--I've grepped the gdb
> and ld source for similar wording but can't find anything.
>
> Do any of you have any ideas?
What does ldd show you?
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-24 17:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-23 23:19 "cannot open shared object file" Jordan Benjamin
2003-10-24 17:31 ` Kevin Buettner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).