[pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config/) is a helper tool used when compiling applications and libraries; facilitating the use of correct/specified compiler options

learn more… | top users | synonyms

1
vote
1answer
376 views

How can I exclude some library paths listed in “ pkg-config --variable pc_path pkg-config”?

I have Ubuntu 14.04 upgraded from 12.04 making dist-upgrades. I did many manual installations such as ffmpeg, libglib and so on, in the past. I have a nice custom distro now, it works well but I have ...
0
votes
1answer
40 views

pkg-config --libs --cflags not return anything for libgoogle-perftools-dev

user2702245 said pkg-config --clibs --flags <package> is good enough to provide linker and include information. I tried to find out such information about libgoogle-perftools-dev I ...
2
votes
1answer
57 views

Reverse pkg-config?

Suppose using the pkg-config I can find which link flags are needed add a library to my code, suppose if I need cairo libraries to add, I can find the appropriate -l flag by > pkg-config --libs ...
1
vote
1answer
76 views

Should I install ibus-1.0 to build Webdriver?

In the process of building one library (Webdriver) I got the following error: Package ibus-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing ...
1
vote
1answer
1k views

FreeBSD Ports Broken — Python Issue? Portmaster -a

Upgraded FreeBSD from 8.2 >> 8.4 >> 10.0-RELEASE today. In the process, I believe I have mangled my ports tree quite badly and am having issues upgrading/reinstalling ports (as the upgrade asks me to ...
3
votes
1answer
891 views

something is terribly wrong with pkg-config

I've been having a harrowing time lately just trying to get several C programs compiled because I can't find where the libraries are located and pkg-config seems to be out of order. I installed GNU ...
3
votes
3answers
613 views

Shortening build command

Is there any way I can shorten this openCV build command? g++ file.cpp -o newFileName `pkg-config --cflags --libs opencv` I tried adding: -o newFileName `pkg-config --cflags --libs opencv` to an ...
1
vote
2answers
867 views

Is there a convention for adding .pc files for pkg-config?

I installed a library via apt but it added no .pc file to the pkg-config dir. When I built another manually it got added. Is there a convention for libs automatically creating a .pc file and if so ...
3
votes
2answers
1k views

/etc/ld.so.conf doesn't contain /usr/lib

I am using pkg-config to help supply the correct libs during c++ compilation. As I understand it, it searches in directories supplied by /etc/ld.so.conf. My ld.so.conf references the following lib ...
0
votes
1answer
892 views

./configure, syntax error: unexpected token (lighttpd)

I want to build a modified version of lighttpd. I follow this tutorial: Downloading and building the H264 Streaming Module for Lighttpd (version 2) This is what I've done so far: apt get install ...
1
vote
2answers
1k views

sipe (plugin pidgin-gaim) unable to find libpurple headers

I downloaded : pidgin 2.10.6 and sipe 1.14.1 from sourceforge. I install pidgin with the following command in the folder of pidgin (2.10.6): ./configure --prefix=/home/tony/soft/pidgin_sipe ...
5
votes
3answers
4k views

How to deal with FreeBSD's move to pkgconf?

It seems that the FreeBSD ports tree is busy transitioning from pkg-config to pkgconf. http://www.mail-archive.com/freebsd-ports-announce@freebsd.org/msg00018.html I first thought as an end user this ...
0
votes
3answers
248 views

Is there a faster alternative to pkg-config?

Our build system uses pkg-config to build the software, but the linking can take very long (sometimes up to 20 minutes). We identified pkg-config as the guilty tool. So, is there a faster alternative ...
2
votes
1answer
9k views

how to make PKG_CONFIG_PATH variable to refer an installed library?

I am in the process of installing the required libraries for FireFox 3.6 on a Redhat Linux Nash 4.x system. I already have successfully installed the glib2.12.0 library, but When I ./configure the ...