pkg-config --cflags glib-2.0 gives wrong -I dir

Matthias Apitz guru at
Sat Jun 25 04:57:50 UTC 2011


Why gives 

$ pkg-config --cflags glib-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  
$ ls -ld /usr/local/include/glib-2.0 /usr/local/lib/glib-2.0/include
ls: /usr/local/lib/glib-2.0/include: No such file or directory
drwxr-xr-x  5 root  wheel  512 May 28 19:01 /usr/local/include/glib-2.0

a non existing -I directory? This concrete example is with a 9-CURRENT
and glib-2.0 from the ports as glib-2.26.1_1, but I see this as well in
some older 8.x systems;


Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at> - w

More information about the freebsd-questions mailing list