[MacPorts] #36109: libxml2 2.8.0 breaks postgis2 2.0.1

MacPorts noreply at macports.org
Wed Sep 12 02:32:54 PDT 2012


#36109: libxml2 2.8.0 breaks postgis2 2.0.1
------------------------------+--------------------------------
 Reporter:  cmutel@…          |      Owner:  macports-tickets@…
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.1.2
 Keywords:  libxml2 postgis2  |       Port:  libxml2
------------------------------+--------------------------------
 Installing libxml2 2.8.0 leads to this behaviour:

 {{{
 cocoa=# select postgis_full_version();
 ERROR:  could not load library
 "/opt/local/lib/postgresql91/postgis-2.0.so":
 dlopen(/opt/local/lib/postgresql91/postgis-2.0.so, 10): Library not
 loaded: /opt/local/lib/libxml2.2.dylib
   Referenced from: /opt/local/lib/postgresql91/postgis-2.0.so
   Reason: Incompatible library version: postgis-2.0.so requires version
 11.0.0 or later, but libxml2.2.dylib provides version 10.0.0
 }}}

 Reverting to 2.7.8 (and forcing a rebuild of postgis2) solves the problem.

 I am not wise enough to understand what is breaking here (it could be on
 either end).

 BTW, the most recent version of libxml2 is already 2.9.0.

-- 
Ticket URL: <https://trac.macports.org/ticket/36109>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list