Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been trying to compile gargoyle and keep getting the fallowing error.

Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found

Also for freetype2, gdk-x11-2.0, and gtk+-x11-2.0.

I could compile on 12.20 so I copied the files over and tried again. It complained about more files.

Why are so many of my libraries missing their pc files? I have the -dev packages installed.

share|improve this question
I am really confused by all this -dev packages thing. For example -dev package for fontconfig appeared to have name libfontconfig1-dev. Who on earth decides about such messy and not-intuitive names?... – ironic Aug 1 '13 at 5:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.