You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by Mark Goldstein <kv...@att.net> on 2004/02/19 03:55:55 UTC

Xalan libraries and DYLD_LIBRARY_PATH (Mac OS-X)

Hello,

I'm trying to run Xalan from the Mac terminal window. It wants to see  
libraries in paths relative to the location of the executable:

Mark-Goldsteins-Computer:~/Documents/XALAN/xml-xalan/c/bin mark$  
./XalanTransform foo.xml foo.xsl foo.out

I get these errors, one at a time as I fix each in turn by  adding the  
necessary alias:
dyld: ./XalanTransform can't open library:  
../../lib/libxalan-c.dylib.17.0  (No such file or directory, errno = 2)
dyld: ./XalanTransform can't open library: libxerces-c.24.dylib  (No  
such file or directory, errno = 2)
dyld: ./XalanTransform can't open library:  
../../../../lib/libxalanMsg.dylib.17.0  (No such file or directory,  
errno = 2)

I'd like to use the search path DYLD_LIBRARY_PATH instead of aliases,  
so I tried this:
set  
DYLD_LIBRARY_PATH="/Users/mark/Documents/XALAN/xml-xalan>c>lib:/Users/ 
mark/Documents/XALAN/XERCES/xerces-c-src2_4_0/lib"

But it does not work. Can anyone out there tell me what I'm doing wrong?

Thanks,
-Mark