Problems after having crosscompiled for XScale
Rogier Stam
rogier at tw.reverze.net
Sun Jun 11 14:58:18 EST 2006
Darren Tucker wrote:
> Rogier Stam wrote:
>
>> I tried porting OpenSSH-4.3p2 to arm-linux (IXP425 Xscale platform) >
>> using openssl-0.9.8b and uClibc. This on the snapgear 3.2.0
>> distribution. It all compiles without problems, but when i run any
>> openssh executable it will always show output similar to the following:
>> # ssh
>> sh: /usr/bin/ssh: No such file or directory
>> #
>>
>> I checked for the libraries, they are all in /lib. To give you an ls:
>
> [list of libs]
>
> libz.so seems to be missing.
>
> If that's not it, do you have ldd on your target, and if so what does
> ldd /usr/bin/ssh say?
>
I just managed to crosscompile ldd on my host platform. The result is
the following:
root at RinceWind:/tmp/uClinux-dist/snapgear/uClibc/utils# ./ldd.host
../../modules/openssh-4.3p2/sftp
libc.so.0 => not found (0x00000000)
libdl.so.0 => not found (0x00000000)
libz.so => /usr/lib/libz.so (0x00000000)
libcrypto.so.0.9.8 => not found (0x00000000)
libutil.so.0 => not found (0x00000000)
libcrypt.so.0 => not found (0x00000000)
libresolv.so.0 => not found (0x00000000)
libc.so.6 => not found (0x00000000)
not a dynamic executable
Don't mind the not found messages, as it cannot find these libraries as
the libraries are not in the system path yet, as i run ldd on the host
not the target. This just to show what ldd says.
Symlinking libc.so.6 to libc.so.0 or /lib/libuClibc-0.9.27.so does not
seem to solve the problem either.
More information about the openssh-unix-dev
mailing list