On 17/07/11 18:30, Antonio Trande wrote:There is a problem with your machine. By default, pkg-config looks at /usr/lib/pkgconfig, there is no need to tell it so.
Solved with $ PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure .
>From man pkg-config:
pkg-config retrieves information about packages from special metadata files. These files are
named after the package, and has a .pc extension. On most systems, pkg-config looks in
/usr/lib/pkgconfig, /usr/share/pkgconfig, /usr/local/lib/pkgconfig and /usr/local/share/pkg‐
config for these files. It will additionally look in the colon-separated (on Windows, semi‐
colon-separated) list of directories specified by the PKG_CONFIG_PATH environment variable.
Since with PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure it works, it means that on your system pkg-config does not look in /usr/lib/pkgconfig, so it was somewhat wrongly installed.
$ locate libpt.so
/home/ken/CompiledSoftware/ptlib-2.10.1/lib_linux_x86_64/libpt.so
/home/ken/CompiledSoftware/ptlib-2.10.1/lib_linux_x86_64/libpt.so.2.10.1
/usr/lib/libpt.so
/usr/lib/libpt.so.2.10.1
/usr/lib64/libpt.so.2.10.1
Note that --enable-FEATURE is an example: "FEATURE" must be replaced with the feature you are looking for...
--Antonio Trande