View Single Post
Old 11-28-2014, 03:55 AM   #11
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by knc1 View Post
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

Last edited by brianinmaine; 11-28-2014 at 04:17 AM.
brianinmaine is offline   Reply With Quote