General NAS-Central Forums

Welcome to the NAS community
It is currently Sun Dec 17, 2017 2:14 am

All times are UTC




Post new topic Reply to topic  [ 298 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20
Author Message
PostPosted: Sun Jul 09, 2017 8:41 pm 
Offline

Joined: Sun Jan 01, 2017 7:12 pm
Posts: 15
Hi,

I tried this method as well by following your guide.
But still got same message :x :

root@NSA320:~# slapt-get -i minidlna
Reading Package Lists...Done
The following NEW packages will be installed:
minidlna
0 upgraded, 0 reinstalled, 1 newly installed, 0 to remove, 0 not upgraded.
Need to get 1.0kB/120.0kB of archives.
After unpacking 340.0kB of additional disk space will be used.

Preparing to install minidlna-1.2.0_git20170526-arm-1
Scanning /ffp/var/slapt-get/./minidlna-1.2.0_git20170526-arm-1.txz ...
#
# MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully compliant with DLNA,
# UPnP-AV clients.
# License: GNU GPLv2
# Version: 1.2.0_git20170526
# Homepage: http://sourceforge.net/projects/minidlna/
#
Installing minidlna-1.2.0_git20170526-arm-1
Running doinst.sh ...
Done
root@NSA320:~# sh /ffp/start/minidlna.sh start
Starting minidlna.../e-data/3c6e67bc-61c2-4bff-af4a-38a79189fe2b/ffproot/ffp/bin/minidlna: can't load library 'libhogweed.so.4'
[ Fail!!! ] ERROR WARNING: minidlna can not start!!!

thank you


Top
 Profile  
 
PostPosted: Mon Jul 10, 2017 12:42 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Code:
slapt-get --remove ffmpeg
slapt-get -i ffmpeg

Then run lddd tool and paste outputs of it.
If you would use slapt-get from the beginning, you shouldn't had this problem at all.


Top
 Profile  
 
PostPosted: Mon Jul 10, 2017 7:38 pm 
Offline

Joined: Sun Jan 01, 2017 7:12 pm
Posts: 15
Hi,

I can not start lddd.
I got msg "readelf is required for this script to function correctly!Install it first."

root@NSA320:~# wget http://downloads.zyxel.nas-central.org/ ... ripts/lddd -O /ffp/sbin/lddd
--19:24:16-- http://downloads.zyxel.nas-central.org/ ... ripts/lddd
=> `/ffp/sbin/lddd'
Resolving downloads.zyxel.nas-central.org... 140.211.169.172
Connecting to downloads.zyxel.nas-central.org[140.211.169.172]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,549 [application/octet-stream]

100%[====================================>] 2,549 --.--K/s

19:24:16 (24.31 MB/s) - `/ffp/sbin/lddd' saved [2549/2549]

root@NSA320:~# chmod 755 /ffp/sbin/lddd
root@NSA320:~# lddd
readelf is required for this script to function correctly!
Install it first.
root@NSA320:~#

How do you think may I start from the very beginning?!
I mean to prepare usb stick and install ffp then install minidlna from your guide?!

Thanks a lot for your patience and help.


Top
 Profile  
 
PostPosted: Mon Jul 10, 2017 7:54 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
readelf is a part of binutils package:
Code:
slapt-get -i binutils

Do you tried to run minidlna after reinstalling ffmpeg?


Top
 Profile  
 
PostPosted: Mon Jul 10, 2017 8:38 pm 
Offline

Joined: Sun Jan 01, 2017 7:12 pm
Posts: 15
yep.Tried to run right after but got following msg:

root@NSA320:~# sh /ffp/start/minidlna.sh start
/ffp/bin/minidlna: Required file not found or not readable!

now able to run lddd and the result is :
STATUS:checking directory... /ffp/lib
STATUS:checking directory... /ffp/sbin
STATUS:checking directory... /ffp/bin
Info about missing libraries and affected files saved to:
/tmp/lddd.XGEX/missing-libs.txt and /tmp/lddd.XGEX/affected-files.txt

There are a lot of missing libs:
/ffp/lib/perl5/5.14.2/arm-linux-thread-multi-64int/auto/DB_File/DB_File.so:
checking sub-depends for 'not found'
libdb-5.2.so => not found (0x00000000)
/ffp/lib/libgio-2.0.so.0.4706.0:
checking sub-depends for 'not found'
libffi.so.5 => not found (0x00000000)
/ffp/lib/libglib-2.0.so.0.4706.0:
checking sub-depends for 'not found'
libpcre.so.1 => not found (0x00000000)
/ffp/lib/libgobject-2.0.so.0.3000.2:
checking sub-depends for 'not found'
libffi.so.5 => not found (0x00000000)
/ffp/lib/libgio-2.0.so.0.3000.2:
checking sub-depends for 'not found'
libffi.so.5 => not found (0x00000000)
/ffp/lib/libfribidi.so.0.3.6:
checking sub-depends for 'not found'
libpcre.so.1 => not found (0x00000000)
/ffp/lib/libass.so.9.0.0:
checking sub-depends for 'not found'
libpcre.so.1 => not found (0x00000000)
/ffp/lib/librtmp.so.1:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libhogweed.so.4 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libtasn1.so.6 => not found (0x00000000)
/ffp/lib/libgnutls.so.30.13.0:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libtasn1.so.6 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libhogweed.so.4 => not found (0x00000000)
/ffp/lib/libgnutlsxx.so.28.1.0:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libtasn1.so.6 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libhogweed.so.4 => not found (0x00000000)
/ffp/lib/libgnutls-openssl.so.27.0.2:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libtasn1.so.6 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libhogweed.so.4 => not found (0x00000000)
/ffp/lib/libavfilter.so.6.82.100:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libpcre.so.1 => not found (0x00000000)
libhogweed.so.4 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libtasn1.so.6 => not found (0x00000000)
/ffp/lib/libavformat.so.57.71.100:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libhogweed.so.4 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libtasn1.so.6 => not found (0x00000000)
/ffp/lib/libavdevice.so.57.6.100:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libpcre.so.1 => not found (0x00000000)
libhogweed.so.4 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libtasn1.so.6 => not found (0x00000000)
/ffp/bin/gio-querymodules:
libffi.so.5 => not found
libffi.so.5 => not found
libffi.so.5 => not found
/ffp/bin/glib-compile-resources:
libffi.so.5 => not found
libffi.so.5 => not found
/ffp/bin/gobject-query:
libffi.so.5 => not found
libffi.so.5 => not found
/ffp/bin/gresource:
libffi.so.5 => not found
libffi.so.5 => not found
/ffp/bin/gapplication:
libffi.so.5 => not found
libffi.so.5 => not found
/ffp/bin/gsettings:
libffi.so.5 => not found
libffi.so.5 => not found
libffi.so.5 => not found
/ffp/bin/gdbus:
libffi.so.5 => not found
libffi.so.5 => not found
libffi.so.5 => not found
/ffp/bin/jpegtran:
libjpeg.so.62 => not found
/ffp/bin/wrjpgcom:
libjpeg.so.62 => not found
/ffp/bin/djpeg:
libjpeg.so.62 => not found
/ffp/bin/cjpeg:
libjpeg.so.62 => not found
/ffp/bin/rdjpgcom:
libjpeg.so.62 => not found
/ffp/bin/fribidi:
libpcre.so.1 => not found
libpcre.so.1 => not found
/ffp/bin/cwebp:
libtiff.so.5 => not found
/ffp/bin/gif2webp:
libgif.so.4 => not found
/ffp/bin/img2webp:
libtiff.so.5 => not found
/ffp/bin/rtmpgw:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/rtmpsuck:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/rtmpsrv:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/rtmpdump:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/gnutls-serv:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/certtool:
libnettle.so.6 => not found
libhogweed.so.4 => not found
libtasn1.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/srptool:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/psktool:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/gnutls-cli:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/gnutls-cli-debug:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/ocsptool:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/ffprobe:
libpcre.so.1 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libpcre.so.1 => not found
/ffp/bin/ffmpeg:
libpcre.so.1 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libpcre.so.1 => not found
/ffp/bin/x264:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found


Top
 Profile  
 
PostPosted: Mon Jul 10, 2017 9:16 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Quote:
/ffp/bin/minidlna: Required file not found or not readable!
This clearly indicates that you don't have minidlna package installed at that moment.

Code:
slapt-get --install-set gpg
slapt-get -i glib db5 libffi pcre libjpeg libtiff giflib minidlna

Rerun lddd.


Top
 Profile  
 
PostPosted: Mon Jul 10, 2017 9:24 pm 
Offline

Joined: Sun Jan 01, 2017 7:12 pm
Posts: 15
now the content of missing libs:

/ffp/lib/perl5/5.14.2/arm-linux-thread-multi-64int/auto/DB_File/DB_File.so:
checking sub-depends for 'not found'
libdb-5.2.so => not found (0x00000000)
/ffp/lib/librtmp.so.1:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libhogweed.so.4 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libtasn1.so.6 => not found (0x00000000)
/ffp/lib/libgnutls.so.30.13.0:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libtasn1.so.6 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libhogweed.so.4 => not found (0x00000000)
/ffp/lib/libgnutlsxx.so.28.1.0:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libtasn1.so.6 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libhogweed.so.4 => not found (0x00000000)
/ffp/lib/libgnutls-openssl.so.27.0.2:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libtasn1.so.6 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libhogweed.so.4 => not found (0x00000000)
/ffp/lib/libavfilter.so.6.82.100:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libhogweed.so.4 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libtasn1.so.6 => not found (0x00000000)
/ffp/lib/libavformat.so.57.71.100:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libhogweed.so.4 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libtasn1.so.6 => not found (0x00000000)
/ffp/lib/libavdevice.so.57.6.100:
checking sub-depends for 'not found'
checking sub-depends for 'not found'
checking sub-depends for 'not found'
libhogweed.so.4 => not found (0x00000000)
libnettle.so.6 => not found (0x00000000)
libtasn1.so.6 => not found (0x00000000)
/ffp/bin/rtmpgw:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/rtmpsuck:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/rtmpsrv:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/rtmpdump:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/gnutls-serv:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/certtool:
libnettle.so.6 => not found
libhogweed.so.4 => not found
libtasn1.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/srptool:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/psktool:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/gnutls-cli:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/gnutls-cli-debug:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/ocsptool:
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/ffprobe:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/ffmpeg:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/x264:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found
/ffp/bin/minidlna:
libhogweed.so.4 => not found
libnettle.so.6 => not found
libtasn1.so.6 => not found
libnettle.so.6 => not found
libhogweed.so.4 => not found

If I try to run minidlna:

Starting minidlna.../e-data/3c6e67bc-61c2-4bff-af4a-38a79189fe2b/ffproot/ffp/bin/minidlna: can't load library 'libhogweed.so.4'
[ Fail!!! ] ERROR WARNING: minidlna can not start!!!


Top
 Profile  
 
PostPosted: Tue Jul 11, 2017 7:27 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Paste me outputs of:
Code:
slapt-get --install-set gpg
and
Code:
funpkg -q perl


Top
 Profile  
 
PostPosted: Tue Jul 11, 2017 7:55 am 
Offline

Joined: Sun Jan 01, 2017 7:12 pm
Posts: 15
I get this:

root@NSA320:~# slapt-get --install-set gpg
Reading Package Lists...Done
gnutls is up to date.
The following NEW packages will be installed:
libgpg-error libassuan libgcrypt libksba npth gnupg gpgme libtasn1 nettle
0 upgraded, 0 reinstalled, 9 newly installed, 0 to remove, 0 not upgraded.
Need to get 9.0kB/3.7MB of archives.
After unpacking 27.6MB of additional disk space will be used.
9/9 Get http://downloads.zyxel.nas-central.org/ ... /packages/ nettle 3.3-arm-1 [1.0kB]...Failed to download: HTTP response code said error
root@NSA320:~# funpkg -q perl
perl-5.14.2-arm-1

thx


Top
 Profile  
 
PostPosted: Tue Jul 11, 2017 11:31 am 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Perl version indicates, that it wasn't updated. So, either something went wrong, either you didn't followed provided instructions.
Quote:
9/9 Get http://downloads.zyxel.nas-central.org/ ... /packages/ nettle 3.3-arm-1 [1.0kB]...Failed to download: HTTP response code said error
Is everything OK with your net?
Try this time:
Code:
su
slapt-get --clean
slapt-get -u
slapt-get --upgrade
sh /ffp/start/sshd.sh restart
slapt-get --install-set gpg

Paste output if you are getting any error on any command.


Top
 Profile  
 
PostPosted: Tue Jul 11, 2017 12:17 pm 
Offline

Joined: Sun Jan 01, 2017 7:12 pm
Posts: 15
I've checked it from 2 different places because my first thought was that issue is with fw rule in my mikrotik rb.
But tested it another place and result was the same.
I followed your guide step by step.

Checksum signature not found:

root@NSA320:~# slapt-get -u
Retrieving package data [http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/]...Cached
Retrieving patch list [http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/]...Done
Retrieving checksum list [http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/]...Cached
Retrieving checksum signature [http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/]...Not Found
Retrieving ChangeLog.txt [http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/]...Done
Reading Package Lists...Done

After that everything was done without any error.

And now when I execute sh /ffp/start/minidlna.sh start I got message:
Starting minidlna...done! [ OK ]

So it's working now! :)

Thanks a lot again!


Top
 Profile  
 
PostPosted: Tue Jul 11, 2017 1:48 pm 
Offline

Joined: Sun Apr 29, 2012 5:24 pm
Posts: 2314
Quote:
Checksum signature not found

You can ignore that. I am not signing packages checksums file yet, but will do that in the future definitely. Rerun lddd tool to make sure that every library has required dependencies.


Top
 Profile  
 
PostPosted: Tue Jul 11, 2017 2:41 pm 
Offline

Joined: Sun Jan 01, 2017 7:12 pm
Posts: 15
After execute lddd:

Congratulations! No missing libraries was found in /ffp.

:)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 298 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 55 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group