Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: Roberto A. Foglietta on April 06, 2009, 03:31:56 PM

Title: alsa.tczl does not init ldconfig
Post by: Roberto A. Foglietta on April 06, 2009, 03:31:56 PM
Code: [Select]
root@box:/home/tc# speaker-test
speaker-test: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
root@box:/home/tc# alsa
alsaconf   alsactl    alsamixer
root@box:/home/tc# alsamixer
alsamixer: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

root@box:/home/tc# find / -name libasound\*   
/mnt/sda2/tclocal/lib/libasound.so.2.0.0
/mnt/sda2/tclocal/lib/libasound.so.2
/mnt/sda2/tclocal/lib/libasound.so
/mnt/sda2/tclocal/lib/libasound.la
/usr/local/lib/libasound.so.2.0.0
/usr/local/lib/libasound.so.2
/usr/local/lib/libasound.so
/usr/local/lib/libasound.la
/tmp/tcloop/alsa/usr/local/lib/libasound.la
/tmp/tcloop/alsa/usr/local/lib/libasound.so
/tmp/tcloop/alsa/usr/local/lib/libasound.so.2
/tmp/tcloop/alsa/usr/local/lib/libasound.so.2.0.0
root@box:/home/tc# ldconfig

root@box:/home/tc# alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or director
Title: Re: alsa.tczl does not init ldconfig
Post by: Jason W on April 07, 2009, 05:30:15 PM
I am having no trouble with ldconfig being issued with alsa.  In what mode are you running in?
Title: Re: alsa.tczl does not init ldconfig
Post by: jpeters on April 09, 2009, 11:05:20 PM
That's typical if alsa fails for any reason. I just downloaded now copies of alsa extensions, and it's a lot more stable.   (thanks to Jason and Juanito for all the work).  I'd try exporting LD_LIBRARY_PATH.