Vladutz Cananau wrote:
Hello.
I am trying to build Xalan on an Ubuntu 6.10 OS and have followed
closely the instructions here:
http://xml.apache.org/xalan-c/build_instruct.html#unix
However, the GNU make utility exists with the following output to stderr:
/usr/bin/ld: cannot find -lxerces-c
collect2: ld returned 1 exit status
make[3]: *** [../../../../bin/MsgCreator] Error 1
make[2]: *** [../../../bin/MsgCreator] Error 2
make[1]: *** [locale] Error 2
make: *** [install-package] Error 2
Would anyone point out a solution to this problem, please? I am sorry if
this question has been asked before, but as I am writing this message,
the mailing list archive seems to be unavailable.
This usually happens when you don't set the XERCESCROOT environment
variable correctly. Are you sure it's pointing to where you built or
installed Xerces-C?
Also, you should verify there is a file in $XERCESCROOT/lib called
libxerces-c.so.
This can also happen if you're building with the trunk of the Xerces-C SVN
repository, as the library name has changed. If that's the case, you'll
need to modify Makefile.incl.in to reflect the new name of the library.
Dave