[MacPorts] #15891: Undefined symbols: _xmlTextReaderSchemaValidate _xmlTextReaderSchemaValidate

MacPorts noreply at macports.org
Sun Jul 6 12:07:11 PDT 2008


#15891: Undefined symbols: _xmlTextReaderSchemaValidate
_xmlTextReaderSchemaValidate
--------------------------------------------+-------------------------------
  Reporter:  martin at fairfaxconsultancy.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                         |      Status:  closed                               
  Priority:  Low                            |   Milestone:  Port Bugs                            
 Component:  ports                          |     Version:  1.6.0                                
Resolution:  wontfix                        |    Keywords:  php5 libxml2                         
--------------------------------------------+-------------------------------
Changes (by pmagrath at macports.org):

  * keywords:  => php5 libxml2
  * priority:  Normal => Low
  * status:  new => closed
  * resolution:  => wontfix
  * milestone:  => Port Bugs

Comment:

 This is caused by multiple conflicting versions of Libxml2. There was a
 php5 bug tracking this but the devs closed it on the grounds that it isn't
 caused by php5. It is caused by multiple installs of libxml2 which is a
 php5 dependency.

 1) Run locate libxml2.dylib. Delete any obviously unnecessary versions of
 libxml2.
 2) Download a new version of libxml2 from
 here:http://xmlsoft.org/downloads.html. Do a "./configure && make && sudo
 make install". This will replace the default version of libxml2 on your
 system with one that (should) match that you have installed by macports.

 Replying to [ticket:15891 martin at fairfaxconsultancy.com]:
 > Running: sudo port install php5 +fastcgi +mysql5 +darwin_8
 >
 > Fresh install of MacPorts 1.6.0 with gcc43, lighttpd and gsed.
 > On OS X 10.4.11
 >
 > Trying to install php5 gets me the following error:
 >
 > /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
 > _xmlTextReaderSchemaValidate
 > _xmlTextReaderSchemaValidate
 > collect2: ld returned 1 exit status
 > make: *** [sapi/cgi/php-cgi] Error 1
 >
 > I can't find any solution anywhere.
 >
 > What do I do?

-- 
Ticket URL: <http://trac.macports.org/ticket/15891#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list