[csw-maintainers] pkg-config setup for X11 ?
John Ellson
ellson at opencsw.org
Mon Jun 6 17:39:24 CEST 2011
What is the correct PKG_CONFIG_PATH these days, particularly for X11 ?
I currently have:
ellson at unstable9s:ellson> echo $PKG_CONFIG_PATH
/opt/csw/lib/pkgconfig:/opt/csw/X11/lib/pkgconfig
But this yields:
ellson at unstable9s:ellson> pkg-config --libs x11
-L/opt/csw/lib -lX11
which does not provide the -L /usr/openwin/lib -lXext needed by, e.g.
/opt/csw/lib/libcairo.so
ellson at unstable9s:ellson> ldd /opt/csw/lib/libcairo.so | grep X
libXrender.so.1 => /opt/csw/lib/sparcv8/libXrender.so.1
libX11.so.4 => /usr/lib/libX11.so.4
libXext.so.0 => /usr/openwin/lib/libXext.so.0
More information about the maintainers
mailing list