[alsa-devel] developing audio with ALSA

Alan Horstmann gineera at aspect135.co.uk
Mon Aug 18 11:57:12 CEST 2008

On Monday 18 August 2008 10:15, Henry Ho wrote:
> Hi
> After reading the cross-compilation instruction in INSTALL file,
> I already successfully configured the alsa-lib-2.0.17. I also
> successfully made the library. Adding --prefix=xxx during
> configuration can set the output directory to xxx.
> I also modify my Makefile for application, including the search
> path of libasound.so.2.***. Now I can successfully make it.
> However, when I run my application on the target, I got the following
> error message:
> ***************************************************************************
>*************** ./pcm: error while loading shared libraries: libasound.so.2:
> cannot open shared object file: No such file or directory
> ***************************************************************************
> I have put libasound.so.2.0.0 in /tmp of the target. I also modified
> /etc/ld.so.conf, adding /tmp in ld.so.conf file. However, I cannot
> find ldconfig on the target. Is anyone can tell me how to solve it?
> Should I rebuild a busybox with this command?

(I'm no expert); is there a link on the target from libasound.so.2 > 
libasound.so.2.0.0 ?  That should be needed to find the actual version you 


More information about the Alsa-devel mailing list