libxml2 and libxslt LD_LIBRARY_PATH

Roger Espinosa was having some trouble getting Syncato running on Mac OS X 10.3. He figured out that the problem was not setting DYLD_LIBRARY_PATH to include /usr/local/lib. This is something that didn't even occur to me as I had /usr/local/lib in DYLD_LIBRARY_PATH before I started working on Syncato. The problem on Panther is a little tricky because there is another version of libxml2 floating around by default so things can sort of work and you don't see the usual errors for not having DYLD_LIBRARY_PATH set properly. I assume the same kind of problems can occur on other UNIX platforms so be sure to set LD_LIBRARY_PATH or DYLD_LIBRARY_PATH to include the location where the libxml2 and libxslt libraries are installed.

Posted by Kimbro Staken

Friday Jan 2, 2004 at 6:09 PM
Recommended Sites