hi,
I'm using Xalan with Debian linux. I think I've set everything up properly
however I get this error when running "make" in the samples directory, I think
it's a link error and it looks like it's not picking up my LD_LIBRARY_PATH but
I have set this in my env.
My env:
bugsbunny2:/jpmorgan/Xalan-C_1_9_0-redhat_80-gcc_32/samples# env
TERM=xterm
SHELL=/bin/bash
SSH_CLIENT=172.17.35.138 4663 22
SSH_TTY=/dev/pts/2
USER=root
LD_LIBRARY_PATH=:/jpmorgan/Xalan-C_1_9_0-redhat_80-gcc_32/lib:/jpmorgan/xerces-c
_2_6_0-redhat_80-gcc_32/lib
MAIL=/var/mail/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/
usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/jpmorgan/Xalan-C_1_9_0-redh
at_80-gcc_32/bin
PWD=/jpmorgan/Xalan-C_1_9_0-redhat_80-gcc_32/samples
PS1=\h:\w\$
XERCESCROOT=/jpmorgan/xerces-c_2_6_0-redhat_80-gcc_32
SHLVL=1
HOME=/root
XALANCROOT=/jpmorgan/Xalan-C_1_9_0-redhat_80-gcc_32
LOGNAME=root
_=/usr/bin/env
OLDPWD=/jpmorgan/Xalan-C_1_9_0-redhat_80-gcc_32
When running make inside samples dir:
bugsbunny2:/jpmorgan/Xalan-C_1_9_0-redhat_80-gcc_32/samples# make
mkdir -p ./obj
mkdir -p ./lib
mkdir -p ./bin
g++ -DLINUX -fPIC \
-L./lib -L/jpmorgan/Xalan-C_1_9_0-redhat_80-gcc_32/lib -lxalan-c -lm
-lpthread -L/jpmorgan/xerces-c_2_6_0-redhat_80-gcc_32/lib -lxerces-c -O2
-DNDEBUG obj/CompileStylesheet.o -o bin/CompileStylesheet
obj/CompileStylesheet.o(.text+0x68): In function `main':
: undefined reference to `xercesc_2_6::XMLUni::fgXercescDefaultLocale'
obj/CompileStylesheet.o(.text+0x6d): In function `main':
: undefined reference to `xercesc_2_6::XMLPlatformUtils::Initialize(char const
*, char const *, xercesc_2_6::PanicHandler *, xercesc_2_6::MemoryManager *)'
Does anyone have any idea what I might be doing wrong?
Thanks
John.
*********************************************************************************
Privileged/Confidential Information may be contained in this message. If you
are not the recipient addressee indicated in this message you may not copy or
deliver this message to anyone. In such case, you should destroy this message
and notify us immediately. If you or your employer do not consent to internet
email messages of this kind, please advise us immediately.
*********************************************************************************
|