Quote:
Originally Posted by knc1
Hmm,
LD_DEBUG=libs <program name here>
Will make the dynamic loader output a listing of everything it looks for and where it is looking.
|
Tried like this:
/mnt/us/extensions/pianobar/ # LD_LIBRARY_PATH=./lib:/usr/lib:/lib LD_DEBUG=libs bin/pianobar
I get lots of output, but none of it is the alsa stuff. Pianobar loads properly, I type in my email and password, select station and it starts to play - this is with the symlink to libalsa.so in /usr/lib/ao/plugins-4/libalsa.so pointing to the local copy. The output is all the libs loaded EXCEPT the libalsa.so library.
I can make it show more debug output by changing the word "quiet" to "debug" in my local file .libao (system file name is libao.conf). It then shows the loading path of libalsa.so by looking only in the plugins-4 folder. Maybe I can patch libao.so to load libalsa.so from a different place? I'll have to read up more on that...
EDIT:
Found the reference to /usr/lib/ao/plugins-4 in the configure file for the libao source package. So now I'll have to try to build that with an altered path. This is going to take a bit