MikeMokkas has asked for the wisdom of the Perl Monks concerning the following question:

Hey Monks, I am trying to build Convert::ASN1 module but I get an error in the process. I am using perl 5.12.0 on Solaris 10. perl Makefile.PL runs without trouble, same for 'make' but 'make test' throws this error: MOST CRUCIAL PART OF IT IMO:
t/00prim.t ....... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solari +s/auto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fata +l: relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/au +to/Socket/Socket.so: symbol inet_aton: referenced symbol not found at + /usr/local/lib/perl5/5.12.0/XSLoader.pm line 70.
Same error occured when I tried to install IO::Socket. I think something must be wrong with the Socket core module. This is all of the error log.
-bash-3.00$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h +arness(0, 'inc', 'blib/lib', 'blib/arch')" t/00prim.t t/01tag.t t/02s +eq.t t/03seqof.t t/04opt.t t/05time.t t/06bigint.t t/07io.t t/08set.t + t/09contr.t t/10choice.t t/11indef.t t/12der.t t/13utf8.t t/14any.t t/00prim.t .... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/00prim.t line 7. BEGIN failed--compilation aborted at t/00prim.t line 7. t/00prim.t .... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/01tag.t ..... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/01tag.t line 7. BEGIN failed--compilation aborted at t/01tag.t line 7. t/01tag.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/02seq.t ..... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/02seq.t line 7. BEGIN failed--compilation aborted at t/02seq.t line 7. t/02seq.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/03seqof.t ... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/03seqof.t line 9. BEGIN failed--compilation aborted at t/03seqof.t line 9. t/03seqof.t ... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/04opt.t ..... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/04opt.t line 7. BEGIN failed--compilation aborted at t/04opt.t line 7. t/04opt.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/05time.t .... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/05time.t line 9. BEGIN failed--compilation aborted at t/05time.t line 9. t/05time.t .... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/06bigint.t .. Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/06bigint.t line 7. BEGIN failed--compilation aborted at t/06bigint.t line 7. t/06bigint.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/07io.t ...... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/07io.t line 3. BEGIN failed--compilation aborted at t/07io.t line 3. t/07io.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/08set.t ..... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/08set.t line 7. BEGIN failed--compilation aborted at t/08set.t line 7. t/08set.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/09contr.t ... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/09contr.t line 7. BEGIN failed--compilation aborted at t/09contr.t line 7. t/09contr.t ... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/10choice.t .. Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/10choice.t line 7. BEGIN failed--compilation aborted at t/10choice.t line 7. t/10choice.t .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/11indef.t ... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/11indef.t line 9. BEGIN failed--compilation aborted at t/11indef.t line 9. t/11indef.t ... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/12der.t ..... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/12der.t line 7. BEGIN failed--compilation aborted at t/12der.t line 7. t/12der.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/13utf8.t .... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/13utf8.t line 7. BEGIN failed--compilation aborted at t/13utf8.t line 7. t/13utf8.t .... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run t/14any.t ..... Can't load '/usr/local/lib/perl5/5.12.0/sun4-solaris/a +uto/Socket/Socket.so' for module Socket: ld.so.1: perl5.12.0: fatal: +relocation error: file /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/ +Socket/Socket.so: symbol inet_aton: referenced symbol not found at /u +sr/local/lib/perl5/5.12.0/XSLoader.pm line 70. at /usr/local/lib/perl5/5.12.0/sun4-solaris/Socket.pm line 434 Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1/IO.pm line 8. Compilation failed in require at /home/JD02911/perlmodules/Convert-ASN +1-0.22/blib/lib/Convert/ASN1.pm line 421. BEGIN failed--compilation aborted at /home/JD02911/perlmodules/Convert +-ASN1-0.22/blib/lib/Convert/ASN1.pm line 425. Compilation failed in require at t/14any.t line 9. BEGIN failed--compilation aborted at t/14any.t line 9. t/14any.t ..... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test Summary Report ------------------- t/00prim.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/01tag.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/02seq.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/03seqof.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/04opt.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/05time.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/06bigint.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/07io.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/08set.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/09contr.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/10choice.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/11indef.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/12der.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/13utf8.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/14any.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=15, Tests=0, 1 wallclock secs ( 0.14 usr 0.08 sys + 1.05 cusr + 0.15 csys = 1.42 CPU) Result: FAIL Failed 15/15 test programs. 0/0 subtests failed. *** Error code 255 make: Fatal error: Command failed for target `test_dynamic'
Regards, Mike

Replies are listed 'Best First'.
Re: Can't build modules that load Socket.so
by Anonymous Monk on Sep 20, 2010 at 17:13 UTC
    What does ldd .....Socket.so output? Set LD_LIBRARY_PATH to include a path to the missing files.
      Hi thanks for the reply, ldd outputs:
      -bash-3.00$ ldd /usr/local/lib/perl5/5.12.0/sun4-solaris/auto/Socket/S +ocket.so libc.so.1 => /lib/libc.so.1 libm.so.2 => /lib/libm.so.2 /platform/SUNW,Sun-Fire-V445/lib/libc_psr.so.1
      I have also used ldd -r and I get the following: Main thing imo:
        libc.so... is supposed to define inet_pton, so I've no idea why thats broken ...

        also Socket.so is supposed to link to libperl.so, I also have no idea why thats broken.

        Are you sure you're not mixing the system perl with perl you compiled yourself?

        Shot in the dark, try

        "export LD_LIBRARY_PATH=/usr/local/lib"
        You might also be able to glean some hints from Not able to load module though @INC contains it

        A real sysadmin ought to be able to help you resolve this :)