Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Jordan Benjamin <jordanb@caltech.edu>, gdb@sources.redhat.com
Subject: Re: "cannot open shared object file"
Date: Fri, 24 Oct 2003 17:31:00 -0000	[thread overview]
Message-ID: <1031024173109.ZM9530@localhost.localdomain> (raw)
In-Reply-To: Jordan Benjamin <jordanb@caltech.edu> ""cannot open shared object file"" (Oct 23,  4:18pm)

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


      reply	other threads:[~2003-10-24 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23 23:19 Jordan Benjamin
2003-10-24 17:31 ` Kevin Buettner [this message]

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=1031024173109.ZM9530@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=jordanb@caltech.edu \
    /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