[alsa-devel] ALSA calls don't work from a shared library

Jaroslav Kysela perex at perex.cz
Wed Aug 24 13:42:25 CEST 2011

Date 24.8.2011 13:36, Olivier Guillion - Myriad wrote:
> Hi,
> I opened a thread yesterday called "ALSA calls don't work within  Mozilla plug-
> ins", but after more testing, I realize that it is a more global problem, so I 
> submit another request for help with a proper title.

It looks like a linking (linker) issue. Are you sure that your dynamic
module is linked with libasound (-lasound option for gcc)?

The command "ldd <your_so_file>" should print libasound.so in list.


Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.

More information about the Alsa-devel mailing list