Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: yinglcs@aim.com
To: gdb@sources.redhat.com
Subject: can't find shared libraries in gdb
Date: Mon, 19 Dec 2005 17:35:00 -0000	[thread overview]
Message-ID: <8C7D2D9C4891CA2-1834-6F6C@MBLK-M10.sysops.aol.com> (raw)

Hi,
I run my program under Gdb. But i get the following error saying it 
can't find the shared libraries:
(gdb) run
Starting program: /home/yinglcs/src/firefox1.5/dist/bin/firefox-bin
/home/yinglcs/src/firefox1.5/dist/bin/firefox-bin: error while loading 
shared libraries: libmozjs.so: cannot open shared object file: No such 
file or directory

But I check there is a soft link in the same directory as the 
executable and it points to a vaild file.
Can you please tell me how to fix this problem so that I can run my 
problem under gdb?

[yinglcs@localhost bin]$ ls -la libmozjs.so
lrwxrwxrwx  1 yinglcs yinglcs 24 Dec 15 09:47 libmozjs.so -> 
../../js/src/libmozjs.so*

[yinglcs@localhost bin]$ ls -la ../../js/src/libmozjs.so
-rwxrwxr-x  1 yinglcs yinglcs 1845285 Dec 15 09:47 
../../js/src/libmozjs.so*


________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.


             reply	other threads:[~2005-12-19 17:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-19 17:35 yinglcs [this message]
2005-12-19 17:51 ` Daniel Jacobowitz
2005-12-19 22:12 ` Eli Zaretskii

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=8C7D2D9C4891CA2-1834-6F6C@MBLK-M10.sysops.aol.com \
    --to=yinglcs@aim.com \
    --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