[postgis-users] 2.0alpha6: cannot find xml2-config

Denis Rouzaud denis.rouzaud at gmail.com
Wed Feb 22 00:24:30 PST 2012


Hi all,
When I try to compile 2.0, I get this error:

configure: error: could not find xml2-config from libxml2 within the 
current path. You may need to try re-running configure with a 
--with-xml2config parameter.

But I have the libxml2 package installed.

If I do: find / -iname "*xml2*", I have:
/var/lib/dpkg/info/libxml2.shlibs
/var/lib/dpkg/info/libxml2.postinst
/var/lib/dpkg/info/libxml2.list
/var/lib/dpkg/info/libxml2.md5sums
/var/lib/dpkg/info/libxml2.symbols
/var/lib/dpkg/info/libxml2.postrm
/var/cache/apt/archives/libxml2_2.7.8.dfsg-4ubuntu0.1_amd64.deb
/usr/lib/libxml2.so.2.7.8
/usr/lib/libxml2.so.2
/usr/share/doc/postgresql-doc-9.1/html/xml2.html
/usr/share/doc/libxml2
/usr/share/postgresql/9.1/extension/xml2--unpackaged--1.0.sql
/usr/share/postgresql/9.1/extension/xml2--1.0.sql
/usr/share/postgresql/9.1/extension/xml2.control

any hint on this?

Thanks a lot,

Denis





More information about the postgis-users mailing list