[alsa-devel] Building the alsa library
Jaroslav Kysela
perex at perex.cz
Sun Jun 16 14:11:37 CEST 2019
Dne 15. 06. 19 v 22:41 scott andrew franco napsal(a):
> Hi,
>
> I have been trying to solve a difficult issue using the ALSA library. To solve it, I need to be able to
> debug into the ALSA library.
>
> I tried to build it from the sources, from the alsa-lib-1.1.9 library source to be specific.
>
> Problems:
>
> Using the build procedure in the INSTALL file, it appeared to build but I could not find a libasound.so file
> anywhere.
>
> I also tried the recommended procedure for static linking, also from the INSTALL file. That gives a
> ./src/.libs/libasound.a file (indeed, this gets generated on a dynamic link as well, which I don't understand).
> However, linking with that produces (after adding back a few missing libs):
> samiam at samiam-linux-pc:~/scratch$ ./hello
> This is a test program
> ALSA lib conf.c:3558:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so (/usr/lib/alsa-lib/libasound_module_conf_pulse.so: libasound_module_conf_pulse.so: cannot open shared object file: No such file or directory)
Your config files (perhaps from the distribution?) refer to the ALSA pulse
plugin which is in the alsa-plugins package. Fix the configuration files or
compile alsa-plugins, too.
Jaroslav
--
Jaroslav Kysela <perex at perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
More information about the Alsa-devel
mailing list