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.
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to