[prev in list] [next in list] [prev in thread] [next in thread]
List: perl-xml
Subject: Perl64, AIX, XML-Parser
From: "Rossing, Jennifer" <jennifer_rossing () csgsystems ! com>
Date: 2004-06-25 20:09:57
Message-ID: 452A98241E7EB04E86F3F61F3D9DEE931825B9 () cmaexch01 ! csgsystems ! com
[Download RAW message or body]
--===============0276441143==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C45AF0.63604007"
This is a multi-part message in MIME format.
Hello! I'm having the following trouble getting the XML-Parser to link:
cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 \
-qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q64 -DUSE_64_BIT_ALL -q64 -O \
-DVERSION=\"2.31\" -DXS_VERSION=\"2.31\" \
"-I/tmp/.ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZpErLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZperl/lib/5.8.2/aix-64all/CORE" \
Expat.c Running Mkbootstrap for XML::Parser::Expat ()
chmod 644 Expat.bs
rm -f blib/arch/auto/XML/Parser/Expat/Expat.so
LD_RUN_PATH="" ld -b64 -bhalt:4 -bM:SRE \
-bI:/tmp/.ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZpErLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZperl/lib/5.8.2/aix-64all/CORE/perl.exp \
-bE:Expat.exp -bnoentry -lc -L/usr/local/lib Expat.o -o \
blib/arch/auto/XML/Parser/Expat/Expat.so -lexpat
ld: 0711-317 ERROR: Undefined symbol: .XML_Parse
ld: 0711-317 ERROR: Undefined symbol: .XML_SetNamespaceDeclHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetElementHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetUnknownEncodingHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetEndCdataSectionHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_SetStartCdataSectionHandler
ld: 0711-317 ERROR: Undefined symbol: .XML_GetInputContext
ld: 0711-317 ERROR: Undefined symbol: .XML_GetCurrentByteCount
ld: 0711-317 ERROR: Undefined symbol: .XML_ErrorString
You can see that the module compiles fine, but when it comes to linking it can't seem \
to recognize the functions declared in expat.h and defined in libexpat.a. I have the \
proper path at the very beginning of my PATH, LD_LIBRARY_PATH, and SHLIB_PATH \
variables, and the files are there:
ls /usr1/arbor/3p/expat/AIX/lib
libexpat.a libexpat.la
ls /usr1/arbor/3p/expat/AIX/include
expat.h
I've tried setting LD_RUN_PATH both in my environment and within the Makefile for \
XML-Parser's Expat. I've looked through the archives for other ideas and tried \
everything I could find, no luck.
This is something that was working fine before and isn't anymore, and I can't figure \
out why all of a sudden it doesn't find the definitions it needs.
FWIW, my os is AIX 5.2, I'm using 64 bit perl 5.8.2, and this is v. 2.31 of the \
parser itself.
I'd appreciate any help!
Jen
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6249.1">
<TITLE>Perl64, AIX, XML-Parser</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello! I'm having the following trouble getting \
the XML-Parser to link:</FONT> </P>
<P><FONT SIZE=2 FACE="Arial"> cc \
-c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 \
-qnoansialias -DUSE_NATIVE_DLOPEN -I/usr/local/include -q64 -DUSE_64_BIT_ALL -q64 \
-O -DVERSION=\"2.31\" \
-DXS_VERSION=\"2.31\" \
"-I/tmp/.ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZpErLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZperl/lib/5.8.2/aix-64all/CORE" \
Expat.c</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Running Mkbootstrap for XML::Parser::Expat ()</FONT>
<BR><FONT SIZE=2 FACE="Arial"> chmod 644 \
Expat.bs</FONT>
<BR><FONT SIZE=2 FACE="Arial"> rm -f \
blib/arch/auto/XML/Parser/Expat/Expat.so</FONT>
<BR><FONT SIZE=2 FACE="Arial"> \
LD_RUN_PATH="" ld -b64 -bhalt:4 -bM:SRE \
-bI:/tmp/.ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZpErLZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZperl/lib/5.8.2/aix-64all/CORE/perl.exp \
-bE:Expat.exp -bnoentry -lc -L/usr/local/lib Expat.o -o \
blib/arch/auto/XML/Parser/Expat/Expat.so -lexpat </FONT></P>
<P><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: .XML_Parse</FONT>
<BR><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: \
.XML_SetNamespaceDeclHandler</FONT>
<BR><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: \
.XML_SetElementHandler</FONT>
<BR><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: \
.XML_SetUnknownEncodingHandler</FONT>
<BR><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: \
.XML_SetEndCdataSectionHandler</FONT>
<BR><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: \
.XML_SetStartCdataSectionHandler</FONT>
<BR><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: \
.XML_GetInputContext</FONT>
<BR><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: \
.XML_GetCurrentByteCount</FONT>
<BR><FONT SIZE=2 FACE="Arial">ld: 0711-317 ERROR: Undefined symbol: \
.XML_ErrorString</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">You can see that the module compiles fine, but when it \
comes to linking it can't seem to recognize the functions declared in expat.h and \
defined in libexpat.a. I have the proper path at the very beginning of my PATH, \
LD_LIBRARY_PATH, and SHLIB_PATH variables, and the files are there:</FONT></P>
<P><FONT SIZE=2 FACE="Arial">ls /usr1/arbor/3p/expat/AIX/lib</FONT>
<BR><FONT SIZE=2 FACE="Arial">libexpat.a libexpat.la</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">ls /usr1/arbor/3p/expat/AIX/include</FONT>
<BR><FONT SIZE=2 FACE="Arial">expat.h</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I've tried setting LD_RUN_PATH both in my environment \
and within the Makefile for XML-Parser's Expat. I've looked through the \
archives for other ideas and tried everything I could find, no luck.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">This is something that was working fine before and isn't \
anymore, and I can't figure out why all of a sudden it doesn't find the definitions \
it needs.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">FWIW, my os is AIX 5.2, I'm using 64 bit perl 5.8.2, and \
this is v. 2.31 of the parser itself.</FONT> </P>
<P><FONT SIZE=2 FACE="Arial">I'd appreciate any help! </FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Jen</FONT>
</P>
</BODY>
</HTML>
_______________________________________________
Perl-XML mailing list
Perl-XML@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0276441143==--
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic