1

Problems with libconfig PKG_CONFIG_PATH enviroment variable

view story
linux-howto

http://askubuntu.com – I've coded a project with some files in C. To make it easy for the user to start the program I started to generate a cfg-file. For this reason I installed libconf. Unfortunately on compiling with a test file I get this message. $ gcc $(pkg-config --cflags libconfig) configTest.c -o configTest $(pkg-config --libs libconfig) Package libconfig was not found in the pkg-config search path. Perhaps you should add the directory containing `libconfig.pc' to the PKG_CONFIG_PATH environment variable No package 'libconfig' found How can I setup the PKG_CONFIG_PATH environment variable? The libconfig (HowTos)