From: Jordan Benjamin <jordanb@caltech.edu>
To: gdb@sources.redhat.com
Subject: "cannot open shared object file"
Date: Thu, 23 Oct 2003 23:19:00 -0000 [thread overview]
Message-ID: <200310231618.52181.jordanb@caltech.edu> (raw)
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
next reply other threads:[~2003-10-23 23:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-23 23:19 Jordan Benjamin [this message]
2003-10-24 17:31 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200310231618.52181.jordanb@caltech.edu \
--to=jordanb@caltech.edu \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).