Ask Your Question

Fatal error while compiling

asked 2017-09-14 15:36:13 -0500

holiday_hawk gravatar image

updated 2017-09-15 04:11:48 -0500

hhlp gravatar image

I was compiling something and came across this error "fatal error: alsa/asoundlib.h: No such file or directory

 #include <alsa/asoundlib.h>" I looked around some and find the alsa-lib package and ran the install command, but got this message back "Last metadata expiration check: 0:26:11 ago on Thu 14 Sep 2017 04:04:15 PM EDT.
Package alsa-lib- is already installed, skipping.
Package alsa-lib- is already installed, skipping.
Dependencies resolved.
Nothing to do.

What am I missing? To me it looks like I should have the file, but do not. I'm fairly new to both Fedora and Linux as a whole so any tips will be really helpful.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-09-14 23:27:24 -0500

villykruse gravatar image

To find what you are missing, run this command

dnf provides '*/alsa/asoundlib.h'

This will find for you the package you need to install, in this case that would be alsa-lib-devel, The alsa-lib provides only the runtime library, and you will need the corresponding -devel to provide the development files.

edit flag offensive delete link more


Thank you!

holiday_hawk gravatar imageholiday_hawk ( 2017-09-15 19:57:24 -0500 )edit

Question Tools

1 follower


Asked: 2017-09-14 15:36:13 -0500

Seen: 1,042 times

Last updated: Sep 15 '17