[Scratchbox-users] sbrsh problem v2
L A
l.thee.a at gmail.com
Thu May 29 09:41:30 EEST 2008
Hi,
I am trying to run sbrsh with a mipsel target. I have configured sbrsh from
sb-menu. This is the error I get:
[sbox-target: ~] > sbrsh
sbrsh server: Can`t execute command: /bin/sh (No such file or directory)
I have tried copying my target /bin directory to
/scratchbox/users/levent/targets/target/bin. Then I get this error:
[sbox-target: ~] > cd /bin
[sbox-target: /bin] > file sh
sh: symbolic link to /bin/bash
[sbox-target: /bin] > file bash
bash: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), dynamically linked
(uses shared libs), not stripped
[sbox-target: /bin] >sbrsh
/bin/sh: can't load library '/scratchbox/tools/lib/libsb.so.0'
[sbox-target: /bin] >sbrsh ls
/bin/sh: can't load library '/scratchbox/tools/lib/libsb.so.0'
I have also tried running a mipsel executable:
[sbox-target: ~] >cd ~
[sbox-target: ~] >gcc hello.c -o output
[sbox-target: ~] >chmod a+x output
[sbox-target: ~] >./output
bash: ./output: cannot execute binary file
any ideas?
thanks
Levent
Ps: I was having a problem with sb-menu while trying to setup sbrsh. It was
exiting with the error socket.gaierror: (-2, 'Name or service not known'). I
have solved it by editing /etc/resolv.conf and /etc/hostname files.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20080528/e5117ee0/attachment.html
More information about the Scratchbox-users
mailing list