I've run this one by the perl XML list and no one could figure it...
But for some reason it can't find the expat library.  Coworkers are
having a very similar problem with the Perl TK module and the DBD::Mysql

[115] meilu:/home/harsch/installs/perl_mods/XML/XML-Parser-2.31> setenv
LD_RUN_PATH  /home/harsch/installs/expat-1.95.4/Expat/lib
[116] meilu:/home/harsch/installs/perl_mods/XML/XML-Parser-2.31>
printenv | grep LD_
LD_LIBRARY_PATH=/home/harsch/installs/expat-1.95.4/Expat/lib:/home/harsc
h/adabas/lib:/local/oracle/lib:/local/sybase_OC/lib:/usr/local/lib:/usr/
local/lib/gcc-lib/sparc-sun-solaris2.6/2.8.1:/usr/local/opt/SUNWspro/lib
:/opt/SUNWspro/lib:/usr/openwin/lib:/sybase/lib:/usr/dt/lib:/usr/4lib:/u
sr/lib:/usr/local/lib/mh-6.8.3/lib:/local/gcg/gcgbin/oblib:/cdna3/apps/S
GE/lib/solaris64
LD_RUN_PATH=/home/harsch/installs/expat-1.95.4/Expat/lib
[118] meilu:/home/harsch/installs/perl_mods/XML/XML-Parser-2.31> perl64
Makefile.PL
EXPATINCPATH=/home/harsch/installs/expat-1.95.4/Expat/include
EXPATLIBPATH=/home/harsch/installs/expat-1.95.4/Expat/lib
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
[119] meilu:/home/harsch/installs/perl_mods/XML/XML-Parser-2.31> make
cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README
cp Parser/Encodings/x-sjis-cp932.enc
blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc
cp Parser/Encodings/iso-8859-7.enc
blib/lib/XML/Parser/Encodings/iso-8859-7.enc
cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc
cp Parser/Encodings/windows-1250.enc
blib/lib/XML/Parser/Encodings/windows-1250.enc
cp Parser/Encodings/iso-8859-8.enc
blib/lib/XML/Parser/Encodings/iso-8859-8.enc
cp Parser/Encodings/iso-8859-2.enc
blib/lib/XML/Parser/Encodings/iso-8859-2.enc
cp Parser/Encodings/x-euc-jp-jisx0221.enc
blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
cp Parser/Encodings/iso-8859-9.enc
blib/lib/XML/Parser/Encodings/iso-8859-9.enc
cp Parser/Encodings/x-sjis-unicode.enc
blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc
cp Parser/Encodings/iso-8859-3.enc
blib/lib/XML/Parser/Encodings/iso-8859-3.enc
cp Parser/Encodings/x-sjis-jdk117.enc
blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc
cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc
cp Parser/Encodings/iso-8859-4.enc
blib/lib/XML/Parser/Encodings/iso-8859-4.enc
cp Parser/Encodings/Japanese_Encodings.msg
blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg
cp Parser/Encodings/x-sjis-jisx0221.enc
blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
cp Parser.pm blib/lib/XML/Parser.pm
cp Parser/Encodings/iso-8859-5.enc
blib/lib/XML/Parser/Encodings/iso-8859-5.enc
cp Parser/Encodings/x-euc-jp-unicode.enc
blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc
cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/local/bin/perl64 -I/usr/local/perl-5.6.1_64/lib
-I/usr/local/perl-5.6.1_64/lib
/usr/local/perl-5.6.1_64/lib/ExtUtils/xsubpp -noprototypes -typemap
/usr/local/perl-5.6.1_64/lib/ExtUtils/typemap -typemap typemap Expat.xs
> Expat.xsc && mv Expat.xsc Expat.c
cc -c -I/home/harsch/installs/expat-1.95.4/Expat/include -xarch=v9
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"2.31\"  -DXS_VERSION=\"2.31\" -KPIC
-I/usr/local/perl-5.6.1_64/lib/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="/home/harsch/installs/expat-1.95.4/Expat/lib" cc  -G
-xarch=v9 -L/usr/local/lib -L/usr/lib/sparcv9 Expat.o  -o
.../blib/arch/auto/XML/Parser/Expat/Expat.so
-L/home/harsch/installs/expat-1.95.4/Expat/lib -lexpat  
ld: fatal: library -lexpat: not found
ld: fatal: File processing errors. No output written to
.../blib/arch/auto/XML/Parser/Expat/Expat.so
*** Error code 1
make: Fatal error: Command failed for target
`../blib/arch/auto/XML/Parser/Expat/Expat.so'
Current working directory
/home/harsch/installs/perl_mods/XML/XML-Parser-2.31/Expat
*** Error code 1
make: Fatal error: Command failed for target `subdirs'

> -----Original Message-----
> From: Jarkko Hietaniemi [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, September 11, 2002 6:00 AM
> To: Tim Harsch
> Cc: [EMAIL PROTECTED]
> Subject: Re: Libraries and Perl64
> 
[SNIP]
> 
> The exact error message would be helpful, and your LD_RUN_PATH /
> LD_LIBRARY_PATH setup.
>
[SNIP]
> -- 
> Jarkko Hietaniemi <[EMAIL PROTECTED]> http://www.iki.fi/jhi/ "There 
> is this special
> biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen
> 

Reply via email to