[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

Solaris 2.6 + egcs 1.1.2 + Perl 5.005_03: relocation error



Well I sacrificed another 3 days of my life to my own stupidity.

At least it was an extensive test for Perl 5.005_3 at the
Solaris 2.6/SPARC platform - it compiled and installed 
always fine with egcs 1.1.2, gcc 2.95 and Sun C++ 4.2.

> t/examples..........Can't load 'blib/arch/auto/Compress/Zlib/Zlib.so' 
> ld.so.1: /home/eedalf/bin/perl: fatal: relocation error: file 
> blib/arch/auto/Compress/Zlib/Zlib.so:
> symbol gzerror: referenced symbol not found at
> /home/eedalf/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm line 169.

Just in case someone will search the p5p archives because of similar
problems - the solution was to set the INCLUDE and LIB in the config.in
of Compress::Zlib. The perl Makefile.PL INC='...' was not enough.

It is also explained in the README - thanks to Paul Marquess.

/Alex


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]