Build of Xerces-C++ on AIX cannot find several libraries even though they are
specified in multiple places
----------------------------------------------------------------------------------------------------------
Key: XERCESC-1603
URL: http://issues.apache.org/jira/browse/XERCESC-1603
Project: Xerces-C++
Type: Bug
Components: Build
Versions: 2.7.0
Environment: uname -a => AIX hqepaix3 1 5 0003345F4C00
xlc/xlC version 5
LD_LIBRARY_PATH and LIBPATH =
/PEBuilds/bldicu/build/lib:/PEBuilds/bldicu/icu/source/lib:/PEBuilds/bldicu/icu/source/common
ICUROOT=/PEBuilds/bldicu/icu/source
XERCESCROOT=/PEBuilds/bldxerces/xerces-c-src_2_7_0
PATH=$PATH:$ICUROOT/config:$ICUROOT/bin
Reporter: Philip Schlesinger
Priority: Blocker
Hi! I'm trying to build Xerces-C++ 2.7.0 with ICU 3.4.1 with single-threaded
functionality. I built ICU 3.4.1 from source using --disable-threads with no
problem.
I followed the instructions for building with ICU according to:
http://xml.apache.org/xerces-c/build-misc.html#ICUPerl
(I'm not using the perl script)
I edited the files to force single-thread compilation for Xerces-C++ according
to the instructions on:
http://xml.apache.org/xerces-c/build-winunix.html#UNIX_SingleThread
Here is my runConfigure line:
./runConfigure -paix -cxlc -xxlC -micu -ticu -rnone -P/PEBuilds/bldxerces/build
-z-I$ICUROOT/common -z-I$ICUROOT/lib -z-I/PEBuilds/bldicu/build/lib
-z-I/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib
After running gmake, it errors out with:
toplevel Building /PEBuilds/bldxerces/xerces-c-src_2_7_0/lib/libxerces-c27.0.a
gmake -C /PEBuilds/bldxerces/xerces-c-src_2_7_0/obj -k
gmake[1]: Entering directory `/PEBuilds/bldxerces/xerces-c-src_2_7_0/obj'
Building /PEBuilds/bldxerces/xerces-c-src_2_7_0/lib/libxerces-c27.0.a
makeC++SharedLib -p 5000 -o
/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib/libxerces-c27.0.a
AIX/AIXPlatformUtils.o ... .... ...
-bmap:/PEBuilds/bldxerces/xerces-c-src_2_7_0/obj/libxerces-c27.0.map
-L/PEBuilds/bldicu/icu/source -L/PEBuilds/bldicu/icu/source/lib
-L/PEBuilds/bldicu/icu/source/data -L/PEBuilds/bldicu/icu/source
-L/PEBuilds/bldicu/icu/source/lib -L/PEBuilds/bldicu/icu/source/data
-L/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib -L/usr/lpp/xlC/lib -licuuc32
-licudata32 -lXercesMessages26
ld: 0706-006 Cannot find or open library file: -l icuuc32
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l icudata32
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l XercesMessages26
ld:open(): A file or directory in the path name does not exist.
gmake[1]: *** [/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib/libxerces-c27.0.a]
Error 255
Building /PEBuilds/bldxerces/xerces-c-src_2_7_0/lib/libxerces-depdom27.0.a
makeC++SharedLib -p 5000 -o
/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib/libxerces-depdom27.0.a
AIX/depdom/AttrImpl.o ... ...
-bmap:/PEBuilds/bldxerces/xerces-c-src_2_7_0/obj/libxerces-depdom27.0.map
-L/PEBuilds/bldicu/icu/source -L/PEBuilds/bldicu/icu/source/lib
-L/PEBuilds/bldicu/icu/source/data -L/PEBuilds/bldicu/icu/source
-L/PEBuilds/bldicu/icu/source/lib -L/PEBuilds/bldicu/icu/source/data
-L/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib -L/usr/lpp/xlC/lib -licuuc32
-licudata32 -lXercesMessages26 -L/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib
-lxerces-c
ld: 0706-006 Cannot find or open library file: -l icuuc32
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l icudata32
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l XercesMessages26
ld:open(): A file or directory in the path name does not exist.
ld: 0706-006 Cannot find or open library file: -l xerces-c
ld:open(): A file or directory in the path name does not exist.
gmake[1]: ***
[/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib/libxerces-depdom27.0.a] Error 255
gmake[1]: Target `ALL' not remade because of errors.
gmake[1]: Leaving directory `/PEBuilds/bldxerces/xerces-c-src_2_7_0/obj'
gmake: *** [/PEBuilds/bldxerces/xerces-c-src_2_7_0/lib/libxerces-c27.0.a] Error
2
Ideas? I've done almost the same exact thing when building on Solaris and it
worked there without a problem. I posted this message three weeks ago to the
Xerces-C++ users group and heard nothing back.
Help??????
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]