Forum OpenACS Development: Response to Brief OpenACS4 installation guide

Collapse
Posted by Jonathan Marsden on

Not sure if this belongs here or as a comment in file-storage? I found the document useful but came across one issue it does not mention.

On my Red Hat 6.2 boxes which had libxml 1.8.6 installed already, nsxml linked against that, even when the libxml2 and libxml2-devel RPMs were installed also.

To fix this I had to explicitly link it against libxml2. Trivial makefile patch, but confusing until I realized what was happening!

The patch is just:

--- root.orig/nsxml_0/Makefile  Tue Oct 24 15:44:40 2000
+++ root/nsxml_0/Makefile       Wed Apr 18 18:59:39 2001
@@ -10,6 +10,7 @@
 #
 OBJS      =  ns_xml.o
 
-MODLIBS   = -lxml
+#MODLIBS   = -lxml
+MODLIBS   = -lxml2
 
 include  $(NSHOME)/include/Makefile.module