no such file or directory


Recommended Posts

I'm trying to run btsync on my NAS which runs linux on an ARM processor. Here's what I get.

root@fileserver:/mnt/HD_a2/btsync# ls -l

total 6688

-rw-rw-r-- 1 nobody 502 155 May 7 09:16 LICENSE.TXT

-rwxrwxr-x 1 nobody 502 3412684 May 15 08:41 btsync

-rw-r--r-- 1 admin 500 3420160 Jun 21 21:25 btsync_arm.tar

root@fileserver:/mnt/HD_a2/btsync# ./btsync

-sh: ./btsync: No such file or directory

Any thoughts as to why this is? Thanks.

Link to comment
Share on other sites

  • 3 months later...

I also have this issue when trying to install BTSync on Raspbmc. Here's some info:

- bash: ./btsync: No such file or directory

- Linux raspbmc 3.6.11 #2 PREEMPT Tue Jul 30 02:02:22 UTC 2013 armv6l GNU/Linux

- ./btsync: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped

- not a dynamic executable

- lrwxrwxrwx 1 root root 22 Nov 14 2012 /lib/libcryptsetup.so.4 -> libcryptsetup.so.4.2.0

- rw-r--r-- 1 root root 87948 Nov 14 2012 /lib/libcryptsetup.so.4.2.0

How to install BitTorrent Sync (BTSync) on Raspbmc?

Edited by olo
Link to comment
Share on other sites

Same problem.

 

Debian Jessie, odroid-x.

 

root@7th_odroid:/etc/init.d# uname -aLinux 7th_odroid 3.8.13.7 #1 SMP PREEMPT Mon Sep 2 21:40:30 BRT 2013 armv7l GNU/Linuxroot@7th_odroid:/usr/bin# ls -l | grep btsync-rwxrwxr-x 1 root   root    3308716 сен 20 14:51 btsyncroot@7th_odroid:/usr/bin# ./btsyncbash: ./btsync: No such file or directoryroot@7th_odroid:/usr/bin# chmod +x btsyncroot@7th_odroid:/usr/bin# ./btsyncbash: ./btsync: No such file or directoryroot@7th_odroid:/usr/bin# cat /etc/fstab# seventh fstab/dev/sda1       none            swap    sw                                      0 0/dev/mmcblk0p2  /               ext4    errors=remount-ro,noatime               0 1/dev/mmcblk0p1  /boot           vfat    noatime                                 1 2/dev/sda5       /tmp            ext2    nodev,nosuid                            0 0/dev/sda6       /usr            ext4    nodev                                   1 2/dev/sda7       /var            ext4    defaults                                1 2/dev/sda2       /home           ext4    nodev                                   1 2/dev/sda4       /bad_hdd        ext4    noexec,errors=remount-ro                0 0root@7th_odroid:/usr/bin# btsyncbash: /usr/bin/btsync: No such file or directoryroot@7th_odroid:/usr/bin# file btsyncbtsync: ELF 32-bit LSB  executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped

Any chances to run it?

Link to comment
Share on other sites

Got the same problem here:

System is Cubian/Cubueboard2 and some details

root@cb2:/home/spock# uname -aLinux cb2 3.4.43+ #11 SMP PREEMPT Thu Sep 5 00:04:37 CST 2013 armv7l GNU/Linuxroot@cb2:/home/spock# ls -lh btsync-rwxr-xr-x 1 root root 3.2M Aug 14 12:56 btsyncroot@cb2:/home/spock# file btsyncbtsync: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, strippedroot@cb2:/home/spock# ldd btsync        not a dynamic executableroot@cb2:/home/spock# ./btsync bash: ./btsync: No such file or directoryroot@cb2:/home/spock#

WTF anyone ? :)

Link to comment
Share on other sites

Hi All,

 

Solution founded :)

$ hexdump -C btsync |less[cut]00000150  04 00 00 00 2f 6c 69 62  2f 6c 64 2d 6c 69 6e 75  |..../lib/ld-linu|00000160  78 2e 73 6f 2e 33 00 00  04 00 00 00 10 00 00 00  |x.so.3..........|[/cut]spock@cb2:~$ ls -l /lib/ld-linux.so.3ls: cannot access /lib/ld-linux.so.3: No such file or directoryspock@cb2:~$ sudo ln -sf /lib/ld-linux-armhf.so.3 /lib/ld-linux.so.3spock@cb2:~$ ./btsync BitTorrent Sync forked to background. pid = 3666

Have fun :P

Link to comment
Share on other sites

  • 1 year later...

Sorry for reviving such an old topic, but I have had the exact same issue. I tried spocks command and it did not work. I also tried chmod +x and it did not work. First I had the exact same error, now it is:

xbian@CuboxTV /etc/btsync/bin $ btsync-bash: btsync: command not found

On a Cubox-i 4pro running XBian (based on debian/raspbian).
Please help!

 

edit: I removed the chmod +x, added it again and ran ./btsync, now it works!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.