pkg-config is computer software that provides a unified interface for querying installed libraries for the purpose of compiling software from its source code.
Questions tagged [pkg-config]
479 questions
0
votes
1 answer
Webkit not found on OSX
I'm trying to compile mu that uses the headers webkit/webkitwebview.h and webkit/webkitwebresource.h. The OSX version of webkit framework located in /System/Library/Frameworks doesn't seem to have it, the headers are different and use NS data types…

Felix D.
- 2,180
- 1
- 23
- 37
0
votes
1 answer
How to overshadow a package from repository with another version?
I have a glib-2.0 2.36.0 package, installed from ubuntu repo. So now
pkg-config --modversion glib-2.0
Prints 2.36.0 Recently, I downloaded and built a fresh new version 2.40.0. I need it to build a Clutter, also downloaded manually. It requires…

Necto
- 2,594
- 1
- 20
- 45
0
votes
1 answer
How to hide the dependencies' shared library in a higher level shared library
I want to build a library,which including my code and the dependencies.
I dont't want to linking the dependencies' shared library when use
the new build library ,
but i can't figure out how to merge the dependencies' shared libraries
and my code's…

Xuweirong
- 23
- 4
0
votes
1 answer
Error Compiling a basic openCV program
I installed openCV following the link mentioned below :
https://help.ubuntu.com/community/OpenCV#aStep_1
The installation went smooth, Now when I compile my test program:
using the following command :
opencv openCVtest.cpp
it throws me the…

Riddle
- 468
- 1
- 6
- 23
0
votes
1 answer
Trouble compiling Enlightenment foundation library 1.8.5
When I run configure.sh
I get this error:
checking for pkg-config... no
configure: error: pkg-config tool not found. Install it or set PKG_CONFIG environment variable to that path tool. Exiting...
I checked in aptitude and it says pkg-config is…

Thewafflication
- 3
- 2
0
votes
0 answers
Register libusb for pkg-confg
I want to compile the lm4flash tool for my Stellaris Launchpad, but when I run the make command, it returns an error, because libusb 1.0 isn't installed.
How can I register the libusb library on pkg-config (I only have the bare dev-library you can…

Turakar
- 180
- 2
- 13
0
votes
1 answer
where do I install custom completions for a python command line script on OSX
In the bash-completions read me it states:
Q. I author/maintain package X and would like to maintain my own
completion code for this package. Where should I put it to be sure
that interactive bash shells will find it and source it?
Install it…

bjw
- 2,046
- 18
- 33
0
votes
1 answer
Compiling a static pkg-config binary
I'm trying to build a static pkg-config binary, using:
LDFLAGS='-static' ./configure --disable-shared
However, the produced binary is dynamically linked. I even tried fiddling with the Makefile, using:
CC = gcc -static
and
CCLD = gcc -static
but…

白い熊
- 1
0
votes
1 answer
Autotools CFLAGS and LDFLAGS not working
I'm trying to compile a program using GNU Autotools. In my configure.ac I have the following line:
PKG_CHECK_MODULES([DEPS], [cairo], [], [AC_MSG_ERROR([Missing Cairo library])])
My src/Makefile.am looks like this:
bin_PROGRAMS = main
main_SOURCES…

gsgx
- 12,020
- 25
- 98
- 149
0
votes
1 answer
Library not loaded: /usr/lib/libpq.5.dylib
Recently came back to a computer (Mac OS X Lion 10.7) with which I've had repeated environment issues, started a new rails app, and ran
rake db:create
I got this error output (with --trace):
rake…

Sasha
- 6,224
- 10
- 55
- 102
0
votes
1 answer
automake and pkg-config conditional building
I want to include two sample programs A and B into the existing library packages.
program A depends on libfoo library, and program B depends on libbar library.
libfoo and libbar are provided as pkg-config aware.
And I want that configure will…

cinsk
- 1,576
- 2
- 12
- 14
0
votes
1 answer
JHBUILD install NetworkManager Ubuntu-13.04
I have a problem installing gnome in my ubuntu.
JHBUILD try install NetworkManager module but the build show the next error
configure: error: Package requirements (libnl-3.0 >= 3.2.7 libnl-route-3.0
libnl-genl-3.0) were not met:
No package…

Alvaro Jose Rios Chaustre
- 221
- 1
- 3
- 10
0
votes
1 answer
Why does pkg-config --libs opencv return library locations and not the libraries themselves?
I am trying to compile a c++ program that incorporates OpenCV. I want to use pkg-config to make the compilation easier. However this does not work due to the fact that pkg-config -libs opencv returns the library locations and not the libraries…

TobyHijzen
- 129
- 2
- 15
0
votes
1 answer
How can I get pkg-config to work within eclipse juno (Mac OS X)?
I try to get gtkmm running within eclipse. This is my makefile (without the cleaning):
all : main.cpp
@export PATH+=/opt/local/bin;
@echo PATH=$(PATH);
g++ -v `pkg-config gtkmm-2.4 --cflags` \
-O0 -g3 -Wall -S \
-o main.o main.cpp;
g++ -v…

thwbh
- 1
- 2
0
votes
1 answer
Brew warning / pkg-config $PATH
I'm trying to install Ruby by following this guide ( How to install... )
But when I do
brew doctor
I get this
Warning: You have a non-Homebrew 'pkg-config' in your PATH:
/opt/sm/pkg/active/bin/pkg-config
`./configure` may have problems finding…

Villat
- 1,455
- 1
- 16
- 33