#898: Certain libxslt versions appear to be causing segmentation faults
--------------------+-------------------------------------------------------
 Reporter:  david   |        Owner:  impl      
     Type:  defect  |       Status:  closed    
 Priority:  normal  |    Milestone:  1.0       
Component:  config  |      Version:  1.0.0beta1
 Severity:  major   |   Resolution:  worksforme
 Keywords:          |    Has_patch:  0         
--------------------+-------------------------------------------------------

Comment(by hzilla):

 Using Leopard and macports (although principle may apply to any distro),
 installed libxml 2.7.3 and libxslt 1.1.24 in the usual manner. Running
 xsltproc -V should indicate if the lib built correctly against libxml
 2.7.3 and not 2.6.16 that is the Leopard version.

 Compiling PHP, i noticed the includes were not being picked up properly
 via the configure command. So i fixed the problem by editing the Makefile
 after running configure.

 In the INCLUDES definition, remove the erroneous references to the old
 libxml2 (eg delete -I/usr/include/libxml2) and make sure the correct
 header files are linked in. In my case:

 ... -I/opt/local/include/libxml2 -I/opt/local/include/libxslt ...

 make and install and you should be good to go... (i linked them in
 staticly to avoid version issues in future)

 Someone may have a better/easier solution based on this information.

-- 
Ticket URL: <http://trac.agavi.org/ticket/898#comment:33>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to