Fatal error: glibconfig.h: No such file or directory

Trying to build an application and get this error

 fatal error: glibconfig.h: No such file or directory

The pacman search shows a number of glib packages and what appears to be the basic ones are all installed.

Is there a package I need? Or a property I need to set?

What application?

If you don’t have glib2 installed, something is very wrong.

❯ pacman -F glibconfig.h
core/glib2 2.64.5-1 [installed: 2.66.0-1]
multilib/lib32-glib2 2.64.5-1 [installed: 2.66.0-1]

Ah. How useful.

It is installed.

  pacman -F glibconfig.h
    core/glib2 2.64.5-1 [installed]
    multilib/lib32-glib2 2.64.5-1 [installed]

I am building xscreensaver because I have a customisation I like to install. I can build it in Ubuntu using deps.

Then modify the Arch PKGBUILD to include your customizations.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.