libc.so.6: aborted attempt to load

saravanan chanemouganandam chanemouganandam at gmail.com
Thu Jul 10 11:40:47 UTC 2008


*Hi all; *
**
*I am trying to cross compile dropbear package outside the snapgear source
tree for and embedded
solution running ARM-linux on IXP425 Big endian system.  *
**
*The package builds correctly using make PROGRAMS="dropbear scp" with
options CC=arm-linux-gcc -mbig-endian. *
*But, when I download and execute the scp: ELF 32-bit MSB executable, ARM
,version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked*
*(uses shared libs), for GNU/Linux 2.0.0, not stripped ...into my board, I
get the following error..*
**
*# ./scp
libc.so.6: aborted attempt to load ./scp!*
**
*Snap shots of few libraries on the /lib of the target board are *
**
 0 lrwxrwxrwx    1 0        0              24 ld-linux.so.2 -> /lib/
ld-uClibc-0.9.27.so
  22 -rwxrwxrwx    1 0        0           21312 ld-uClibc-0.9.27.so
   0 lrwxrwxrwx    1 0        0              19 ld-uClibc.so.0 ->
ld-uClibc-0.9.27.so
   0 lrwxrwxrwx    1 0        0              19 libc.so.0 ->
libuClibc-0.9.27.so
  11 -rw-rw-rw-    1 0        0           10688 libcrypt-0.9.27.so
   0 lrwxrwxrwx    1 0        0              18 libcrypt.so.0 ->
libcrypt-0.9.27.so
 930 -rwxr-xr-x    1 0        0          946960 libcrypto.so.0.9.8
73 -rw-rw-rw-    1 0        0          276256 libuClibc-0.9.27.so
   5 -rw-rw-rw-    1 0        0            4120 libutil-0.9.27.so
   0 lrwxrwxrwx    1 0        0              17 libutil.so.0 ->
libutil-0.9.27.so
**
*I think I'm getting this error because I'm using the snapgear packages with

uClibc instead of glibc and tool chain arm-linux-tools-20061213.tar.gz.*
**
*Any ideas on how to correct this in the makefiles to use the correct
dynamic linking libraries? *
**
*Thanks
Sara*
**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20080710/b2455f9f/attachment-0002.htm 


More information about the uClibc mailing list