Page 1 of 1

Incorrect lib linking? Twonky Server 8.5.1, Linux Arm EL (workaround)

Posted: Mon Jun 25, 2018 4:32 pm
by Busywait
I have downloaded and installed the generic Linux ARM Little Endian build from the Twonky download site, version 8.5.1, Linux ARM little endian uclibc 0.9.28

It expects to find 3 libraries, but expects unusual version numbers for two of the libraries:

Code: Select all

$ ldd twonky851/twonkystarter => not found => not found => /lib/ (0xb6fc7000)
$ ldd twonky851/twonkyserver => not found => not found => /lib/ (0xb6fcd000)
I am running firmware on my NAS has the following versions of those .so files in /lib:

Code: Select all

$ ls -l /lib/libpthre* /lib/libc.* /lib/libc-* /lib/libuC*
ls: /lib/libc-*: No such file or directory
lrwxrwxrwx    1 root     root            21 Sep 22  2017 /lib/ ->
-rwxr-xr-x    1 root     root         83879 Oct 13  2017 /lib/
lrwxrwxrwx    1 root     root            22 Sep 22  2017 /lib/ ->
-rwxr-xr-x    1 root     root        343156 Oct 13  2017 /lib/
So, when I try to run twonkystarter it fails to start with an error:
Missing .so.1 file reported
$ ./twonky851/twonkystarter -logfile ./twonkyserver-log.txt -appdata ./appdata
./twonky851/twonkystarter: can't load library ''

I can add these missing symlinks as root:

Code: Select all

# ln -s /lib/ /lib/
$ ./twonky851/twonkystarter
./twonky851/twonkystarter: can't load library ''

As root:

Code: Select all

# ln -s /lib/ /lib/
Now twonky server works as expected.

Is this a little mistake in the Linux Arm EL build?