Questions tagged [pkg-config]

The pkg-config program is used to retrieve information about installed libraries in the system. It is typically used to compile and link against one or more libraries.

53 questions
138
votes
9 answers

PKG_CONFIG_PATH environment variable

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. What does this mean ?
MKJ
  • 1,569
6
votes
1 answer

OpenSSL installed but no openssl.pc (needed by pkg-config)

Can .pc files be generated if they aren't installed? I have installed OpenSSL but there is no 'openssl.pc' on my computer. Any suggestions?
sclaes
  • 61
3
votes
1 answer

Strange GLib error in pkg-config result

Ubuntu 18.04 fresh installed. $ pkg-config --list-all 2>&1 | grep -A2 -B2 GLib (pkg-config:31662): GLib-CRITICAL **: 06:08:21.279: g_string_insert_len: assertion 'len == 0 || val != NULL' failed What the hell is this? Is this something we need to…
Wang
  • 635
0
votes
1 answer

Error while compiling

I need to compile a simple display image code in opencv on Ubuntu Linux platform but I am getting some errors as follows: gcc: error: ‘pkg-config: No such file or directory gcc: error: opencv‘: No such file or directory gcc: error: unrecognized…
user186851
  • 11
  • 1
  • 1