4

I am building an application from source, Ardour specifically. During the build config process it exits with the following error:

Checking for 'glibmm-2.4' >= 2.32.0
['/opt/local/bin/pkg-config', 'glibmm-2.4 >= 2.32.0', '--cflags', '--libs', 'glibmm-2.4']
err: Package glibmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glibmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glibmm-2.4' found
Package glibmm-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glibmm-2.4.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glibmm-2.4' found

I use homebrew for package management,so I installed glibmm and glib. However, the build config process still fails.

1 Answer 1

3

Figured it out: When using brew

Add

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/Cellar/glib/<VERSION>/lib/pkgconfig to end of ~/.bash_profile. Then run source ~/.bash_profile

2
  • Did it work for you the compiling of Ardour I am having the same problem but hesitating whether to do this in case I screw something else. Feb 16, 2022 at 21:33
  • 1
    I managed to compile Ardour into an executable binary, but it crashed upon execution.
    – abhobe
    Feb 26, 2022 at 18:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.