This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
error about loading cross-compile lib
- From: loody <miloody at gmail dot com>
- To: gdb at sourceware dot org
- Date: Sat, 7 Nov 2009 14:58:49 +0800
- Subject: error about loading cross-compile lib
Dear all:
While running a cross-compile gdb on my platform, running on i386, and
target is mips.
when executing it, it will say
"Error while mapping shared library sections:
/lib/libc.so.0: No such file or directory.
warning: .dynamic section for "/lib/libgcc_s.so.1" is not at the
expected address (wrong library or version mismatch?)
Error while mapping shared library sections:
/lib/ld-uClibc.so.0: No such file or directory."
it seems cross-compile gdb cannot find what library I need.
I have set LD_LIBRARY_PATH as the uclibc lib I used in my target
machine but the error still shows up.
Did I miss something or some setting?
appreciate your help,
miloody