can't find shared libraries in gdb

Eli Zaretskii eliz@gnu.org
Mon Dec 19 22:12:00 GMT 2005


> Date: Mon, 19 Dec 2005 12:35:41 -0500
> From: yinglcs@aim.com
> 
> 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

What OS is that, what version of GDB, and how it was configured in
terms of host and target?  In short, what does GDB display when you
start it?



More information about the Gdb mailing list