DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-05-23 18:11:16

yomgui
Member
Registered: 2009-02-22
Posts: 10

/ffp/bin/sh: nzbget: not found

Hi all,


I am trying to install nzbget using the tutorial http://www.aroundmyroom.com/2009/01/27/ … laces-all/

I am using funplug 0.5 and I manage to have nzbgetweb interface working on lighttpd.

However I have this strange error with the package "nzbget-0.6.0-bin-dns323-arm.tar.gz" downloaded from sourceforge nzbget project.

Code:

~/nzbget-temp # which nzbget
/ffp/bin/nzbget
~/nzbget-temp # md5sum /ffp/bin/nzbget
ae794bf24d447a2c54424bf6b7329cac  /ffp/bin/nzbget
~/nzbget-temp # nzbget
/ffp/bin/sh: nzbget: not found

nzbget rights are 777 ...

Any idea ?

Offline

 

#2 2009-05-23 18:29:05

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: /ffp/bin/sh: nzbget: not found

Check for missing libraries: ldd /ffp/bin/nzbget

Offline

 

#3 2009-05-23 21:57:55

yomgui
Member
Registered: 2009-02-22
Posts: 10

Re: /ffp/bin/sh: nzbget: not found

Hi,

Thanks for your answer Fonz.

The following librairies were missing : libcrypto.so.0.9.7, libssl.so.0.9.7, libstdc++.so.5.

I symlinked them to libcrypto.so.0.9.8, libssl.so.0.9.8 and libstdc++.so.6.

Code:

~/ffp/lib #  ls -l libstdc++.so.5 libcrypto.so.0.9.7 libssl.so.0.9.7
lrwxrwxrwx    1 root     root           18 May 23 18:46 libcrypto.so.0.9.7 -> libcrypto.so.0.9.8
lrwxrwxrwx    1 root     root           15 May 23 18:48 libssl.so.0.9.7 -> libssl.so.0.9.8
lrwxrwxrwx    1 root     root           14 May 23 18:48 libstdc++.so.5 -> libstdc++.so.6

But I still have the "not found". Here is the output of ldd:

Code:

ldd /ffp/bin/nzbget 
ldd: can't open cache '/ffp/etc/ld.so.cache'
checking sub-depends for 'libpthread.so.0'
checking sub-depends for 'libssl.so.0.9.7'
checking sub-depends for 'libstdc++.so.5'
checking sub-depends for 'libm.so.0'
checking sub-depends for 'libgcc_s.so.1'
checking sub-depends for 'libc.so.0'
checking sub-depends for 'libcrypto.so.0.9.7'
checking sub-depends for 'libcrypto.so.0.9.8'
checking sub-depends for 'libdl.so.0'
checking sub-depends for 'libz.so.1'
        libpthread.so.0 => libpthread.so.0 (0x00000000)
        libssl.so.0.9.7 => libssl.so.0.9.7 (0x00000000)
        libstdc++.so.5 => libstdc++.so.5 (0x00000000)
        libm.so.0 => libm.so.0 (0x00000000)
        libgcc_s.so.1 => libgcc_s.so.1 (0x00000000)
        libc.so.0 => libc.so.0 (0x00000000)
        libcrypto.so.0.9.7 => libcrypto.so.0.9.7 (0x00000000)
        libcrypto.so.0.9.8 => libcrypto.so.0.9.8 (0x00000000)
        libdl.so.0 => libdl.so.0 (0x00000000)
        libz.so.1 => libz.so.1 (0x00000000)
        not a dynamic executable

Offline

 

#4 2009-05-24 11:15:04

yomgui
Member
Registered: 2009-02-22
Posts: 10

Re: /ffp/bin/sh: nzbget: not found

I also tried to export LD_LIBRARY_PATH=/ffp/lib wink

Offline

 

#5 2009-05-24 21:07:16

Electrocut
Member
From: France
Registered: 2009-04-05
Posts: 195

Re: /ffp/bin/sh: nzbget: not found

I don't really know what is the problem you are facing, but here is my results, for building Nzbget, on the DNS-313 device. It depends on the features enabled for the building:

nzbget_0.3.1 > OK
nzbget_0.3.1, with ncurses support> OK


nzbget_0.4.1 > OK
nzbget_0.4.1, with ncurses support> OK

nzbget_0.5.1 > OK
nzbget_0.5.1, with ncurses support> OK
nzbget_0.5.1, with TLS support > OK
nzbget_0.5.1, with ncurses + part support > Error (segmentation fault)
nzbget_0.5.1, with ncurses + part + TLS support > Error (segmentation fault)


nzbget_0.6.0 > OK
nzbget_0.6.0, with ncurses support> Error (segmentation fault)
nzbget_0.6.0, with TLS support > Error (segmentation fault)
nzbget_0.6.0, with ncurses + TLS support > Error (segmentation fault)
nzbget_0.6.0, with ncurses + part + TLS support > Error (segmentation fault)

You can download all the binaries, for the DNS-313 here (new link): http://dl.free.fr/ecEh6E9CX

Edit: file uploaded again

Last edited by Electrocut (2009-05-25 20:55:18)


DNS-313

Offline

 

#6 2009-05-24 22:27:30

Electrocut
Member
From: France
Registered: 2009-04-05
Posts: 195

Re: /ffp/bin/sh: nzbget: not found

ldd output, for me: (nzbget 0.5.1 with ncurse support)

Code:

root@terabox:/mnt/HD_a4/ffp/bin# ldd nzbget
        libssl.so.0.9.8 => /ffp/lib/libssl.so.0.9.8 (0x4000e000)
        libncurses.so.5 => /ffp/lib/libncurses.so.5 (0x40054000)
        libxml2.so.2 => /ffp/lib/libxml2.so.2 (0x4009d000)
        libpthread.so.0 => /ffp/lib/libpthread.so.0 (0x401be000)
        libstdc++.so.6 => /ffp/lib/libstdc++.so.6 (0x401d8000)
        libm.so.0 => /ffp/lib/libm.so.0 (0x402cd000)
        libgcc_s.so.1 => /ffp/lib/libgcc_s.so.1 (0x402e8000)
        libc.so.0 => /ffp/lib/libc.so.0 (0x402f1000)
        libcrypto.so.0.9.8 => /ffp/lib/libcrypto.so.0.9.8 (0x4034c000)
        libdl.so.0 => /ffp/lib/libdl.so.0 (0x40483000)
        libz.so.1 => /ffp/lib/libz.so.1 (0x4048e000)
        libiconv.so.2 => /ffp/lib/libiconv.so.2 (0x404ab000)
        ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x40000000)

Last edited by Electrocut (2009-05-24 22:27:56)


DNS-313

Offline

 

#7 2009-05-25 20:08:57

yomgui
Member
Registered: 2009-02-22
Posts: 10

Re: /ffp/bin/sh: nzbget: not found

Hi,

Even if the tbz2 file seems to be corrupted, I have managed to extract 0.6.0 version which seems to be working with ParCheck = No in configuration file.

Now I am gonna try to download stuff from newsgroup.

Thanks

Offline

 

#8 2009-05-25 20:55:28

Electrocut
Member
From: France
Registered: 2009-04-05
Posts: 195

Re: /ffp/bin/sh: nzbget: not found

Corrupted ? You are right, I didn't check the file. It should be OK now.


DNS-313

Offline

 

#9 2009-05-25 21:16:59

Electrocut
Member
From: France
Registered: 2009-04-05
Posts: 195

Re: /ffp/bin/sh: nzbget: not found

yomgui, can you please give your feedback here, after testing nzbget 0.6.0 ?

Because, even If I got nzbget working, the (big) files I download with nzbget are almost always corrupted (tried with all nzbget versions built above)

As sometimes 1/2 of parts are corrupted, even par2repair is not enough to recover the original files ...

Thanks ;-)


DNS-313

Offline

 

#10 2009-05-28 14:18:01

yomgui
Member
Registered: 2009-02-22
Posts: 10

Re: /ffp/bin/sh: nzbget: not found

First download is done : parcheck is the next step.

I will keep you posted ;-)

Offline

 

#11 2009-05-28 20:05:18

Electrocut
Member
From: France
Registered: 2009-04-05
Posts: 195

Re: /ffp/bin/sh: nzbget: not found

Not so bad this time: even if many files were corrupted, repairing with par2repair was possible.

Code:

Repair is required.
47 file(s) exist but are damaged.
21 file(s) are ok.
You have 666 out of 738 data blocks available.
You have 115 recovery blocks available.
Repair is possible.
You have an excess of 43 recovery blocks.
72 recovery blocks will be used to repair.

DNS-313

Offline

 

#12 2009-06-01 16:38:52

yomgui
Member
Registered: 2009-02-22
Posts: 10

Re: /ffp/bin/sh: nzbget: not found

Here are my stats:

Code:

Repair is required.
28 file(s) exist but are damaged.
69 file(s) are ok.
You have 1017 out of 1045 data blocks available.
You have 50 recovery blocks available.
Repair is possible.
You have an excess of 22 recovery blocks.
28 recovery blocks will be used to repair.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB