[p4perl] Compilation error (make test) on Solaris 7

Tony Smith tony at smee.org
Sun May 29 09:38:51 PDT 2005


Hi Tom,

> I'm trying to build the P4Perl module on Solaris 7 with gcc 3.4.1.  I've
> installed the P4 API files and fed their location to Makefile.PL when
> prompted.  I'm encountering the following problem when I run "make test:"
>
> make[1]: Entering directory `/tmp/P4-3.4804/lib'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/tmp/P4-3.4804/lib'
> PERL_DL_NONLAZY=1 /usr/local/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> 1..7
> Can't load 'blib/arch/auto/P4/P4.so' for module P4: ld.so.1:
> /usr/local/bin/perl: fatal: relocation error: file blib/arch/auto/P4/P4.so:
> symbol _ZN6StrBuf10nullStrBufE: referenced symbol not found at
> /usr/local/lib/perl5/5.8.5/sun4-solaris/DynaLoader.pm line 230.
>  at test.pl line 34
> Compilation failed in require at test.pl line 34.
> BEGIN failed--compilation aborted at test.pl line 34.
> not ok 1
> make: *** [test_dynamic] Error 255
>
> Anyone know what the problem is?

Exactly which API build did you use? You'll need one that's compiled with gcc 
3. Could that be the problem?

Tony



More information about the p4perl mailing list