Shared Lib error.

Daniel Jacobowitz drow@mvista.com
Mon Feb 10 18:07:00 GMT 2003


On Mon, Feb 10, 2003 at 05:33:52PM +0000, Imtiaz Sajwani wrote:
> I have just compiled gdbserver(using gdb5.3 source) for strong Arm.
> Also arm-linux-gcc 2.95.3 was used to build the gdbserver, the following 
> error mesg comes up when I try to run the gdb on target.
> 
> 
> # ./gdbserver
> ./gdbserver: error in loading shared libraries: libthread_db.so.1: cannot 
> open shared object file: No such file or directory
> # # ./gdbserver
> ./gdbserver: error in loading shared libraries: libthread_db.so.1: cannot 
> open shared object file: No such file or directory
> #

Then copy libthread_db.so.1 to your target, of course.

> I have also compiled using uclibc, any assistance in this will be more then 
> appreciated.
> thanks

I don't know if either thread debugging or gdbserver will work with
uclibc.  I suspect they will if you're using a recent version.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb mailing list