Ask Your Question

Missing <bsd/stdio.h>

asked 2019-03-26 18:32:06 -0600

updated 2019-03-27 13:33:58 -0600

I am attempting to build a package (on Fedora 29) that relies on the libbsd package. I'm consistently getting a message about it not being able to find <bsd stdio.h=""> (angle braces not quotes) in the include path. The thing is when I check the paths it's looking at for includes (these dirs I think:


that bsd directory simply doesn't seem to be present. I tried removing and re-installing libbsd from dnf but that doesn't seem to have done it.

Anyone have any suggestions of something I might be missing here?

edit retag flag offensive close merge delete


Try installing libbsd-devel and libbsd package

aeperezt gravatar imageaeperezt ( 2019-03-26 20:59:44 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-27 01:09:32 -0600

villykruse gravatar image

Found it here:

# dnf provides '*/bsd/stdio.h'
libbsd-devel-0.9.1-2.fc29.i686 : Development files for libbsd
Repo        : fedora
Matched from:
Filename    : /usr/include/bsd/stdio.h

libbsd-devel-0.9.1-2.fc29.x86_64 : Development files for libbsd
Repo        : fedora
Matched from:
Filename    : /usr/include/bsd/stdio.h

So: run dnf install libbsd-devel.

edit flag offensive delete link more


How did you examine the dnf packages to determine that?

I would upvote your answer but I can't :( But I did accept it because you're correct!

OnorioCatenacci gravatar imageOnorioCatenacci ( 2019-03-27 05:54:56 -0600 )edit

Exactly by running the command dnf provides '*/bsd/stdio.h'. You can use that technique for any file path name or part of file path name. For example: what package provides the java compiller? dnf provides '*/bin/javac'. Notice the quotes to avoid expansion of the wildcards by the shell.

villykruse gravatar imagevillykruse ( 2019-03-27 07:01:08 -0600 )edit

Ah--wish I had seen that! If I had I could have answered my own question! Thanks again for the assistance!

OnorioCatenacci gravatar imageOnorioCatenacci ( 2019-03-27 07:45:53 -0600 )edit

Question Tools

1 follower


Asked: 2019-03-26 18:32:06 -0600

Seen: 60 times

Last updated: Mar 27 '19