Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: chrisb on March 16, 2011, 12:54:24 PM

Title: mocp: libdb-4.8.so not found
Post by: chrisb on March 16, 2011, 12:54:24 PM
Hello,

I am new to tinycore. I installed package moc and tried to run mocp: "mocp: error while loading shared libraries: libdb-4.8.so: cannot open shared object file: No such file or directory". In /usr/local/lib there exists libdb-5.1.so but no libdb-4.8.so. Did I do something wrong or is this a bug?

Also: can anyone recommend a small tinycore internet radio player that will play AAC streams? I've tried xmms and vlc but neither work (tested on http://di.fm 32k AAC stream).
Title: Re: mocp: libdb-4.8.so not found
Post by: Rich on March 16, 2011, 01:18:44 PM
Hi chrisb
You didn't do anything wrong. The bsddb.tcz  package that moc depends on got updated to a newer
version. Open a terminal and type  sudo ln -s /usr/local/lib/libdb-5.1.so /usr/local/lib/libdb-4.8.so  and
see if that helps. If the libraries are not compatible then one of the experts will have to help you.
Title: Re: mocp: libdb-4.8.so not found
Post by: tinypoodle on March 16, 2011, 03:47:29 PM
Also: can anyone recommend a small tinycore internet radio player that will play AAC streams? I've tried xmms and vlc but neither work (tested on http://di.fm 32k AAC stream).

You'd have to specify a specific direct link for testing, but FWIW, random links on that site with extension .pls work fine with Mplayer-nodeps.
Title: Re: mocp: libdb-4.8.so not found
Post by: chrisb on March 16, 2011, 08:11:45 PM
Thank you, I can't believe I forgot about mplayer... it plays the AAC streams fine.

I guess mocp needs recompiling.

btw, I'm very impressed with tiny core so far. I installed on an old Wyse winterm, I tried Ubuntu first but it took several hours to install, was jerky and took almost 3GB of disk space. tiny core feels fast and is only 65MB or so on disk :) Amazing.
Title: Re: mocp: libdb-4.8.so not found
Post by: Fallingwater on October 23, 2011, 01:02:45 PM
Hi chrisb
You didn't do anything wrong. The bsddb.tcz  package that moc depends on got updated to a newer
version. Open a terminal and type  sudo ln -s /usr/local/lib/libdb-5.1.so /usr/local/lib/libdb-4.8.so  and
see if that helps. If the libraries are not compatible then one of the experts will have to help you.
I'm having the exact same problem in my Tiny Core install, and came here after googling the error. I tried this fix, but mocp still refuses to run giving the same error. I ran ldd against it, and libdb-4.8.so is listed as not found - not incompatible or whatever, it just doesn't see the file, even though it's very clearly in /usr/local/lib.
Any ideas?
Title: Re: mocp: libdb-4.8.so not found
Post by: curaga on October 23, 2011, 01:40:34 PM
Run "sudo ldconfig".
Title: Re: mocp: libdb-4.8.so not found
Post by: Fallingwater on October 24, 2011, 04:35:07 PM
Done. Ldconfig said nothing, and mocp still doesn't work.