This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
can't find shared libraries in gdb
- From: yinglcs at aim dot com
- To: gdb at sources dot redhat dot com
- Date: Mon, 19 Dec 2005 12:35:41 -0500
- Subject: can't find shared libraries in gdb
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.