Optware / Optware-ng

279 stars 52 forks source link

minidlna 1.1.5-4 can't load libraries #218

Closed N0News closed 6 years ago

N0News commented 6 years ago

Hello, after upgrading minidlna to version 1.1.5-4 i have this errors:

/opt/sbin/minidlnad: can't load library 'libpthread.so.1'
/opt/sbin/minidlnad: can't load library 'libdl.so.1'

I use buildroot-armv5eabi-ng-legacy on Synology DS212J. Manually moving this libraries from old uclibc-opt_1.0.15-2_arm.ipk helped, but please fix this.

alllexx88 commented 6 years ago

Hi, I've fixed few libpthread issues (ffmpeg and liblzma0 packages), and now minidlnad works fine for me. I haven't experienced libdl.so.1 dependency issue, so let's first upgrade all packages:

ipkg update
ipkg upgrade

And second use slightly modified lddtree (will later add it as a package) to see what binary was linked against libdl

ipkg install bash sed binutils wget-ssl
/opt/bin/wget https://github.com/Optware/Optware-ng/files/1384849/lddtree.txt -O /opt/bin/lddtree
chmod +x /opt/bin/lddtree
/opt/bin/lddtree /opt/sbin/minidlnad

and send me output of the last command please

Thanks

N0News commented 6 years ago

OK, all done and things go bad for your version of lddtree: lddtree.txt

But I have installed ldd from repository: ldd from ipkg.txt

Seems like minidlnad can work now.

alllexx88 commented 6 years ago

Seems like minidlnad can work now.

Great.

Thanks for the notice on sed too: fixed in 4b96b7b4d773914d8e02ee835ea312169058ccc5