[alsa-devel] alsa/asoundlib.h file not found

Gabriel M. Beddingfield gabrbedd at gmail.com
Thu Dec 5 03:37:00 CET 2013

On 12/04/2013 10:38 AM, Max wrote:
> Gabriel Beddingfield <gabrbedd <at> gmail.com> writes:
>> On Tue, Sep 6, 2011 at 5:33 AM, Clemens Ladisch <clemens <at> ladisch.de>
> wrote:
>>> Appalayagari Sreedhar wrote:
>>>> main.c:2:23: error: asoundlib.h: No such file or directory
>>> This means that alsa-lib is not installed correctly.
>> On Debian/Ubuntu, install a package called libasound2-dev
>> On SuSe, you can probably `zypper install -C 'pkgconfig(alsa)'` (I
>> think the -C is correct... for "capabilities")
>> On Fedora, it's `yum install 'pkgconfig(alsa)'`
> I am still getting the problem even though alsa-lib-devel is installed on my
> fedora 14.

On Fedora 19 I get:

    $ pkg-config --cflags alsa


   1. Make sure that /usr/include/alsa/asoundlib.h exists
   2. Make sure that you add "-I/usr/include/alsa" to your CFLAGS


More information about the Alsa-devel mailing list