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

I am getting the following errors:
lib/DBM_Filter/t/01error ...................................... /usr/l +ib/dld.sl: Unresolved symbol: __dbm_do_nextkey (code) from /usr/lib/libdbm.1 # Failed test 'use ODBM_File;' # at ../lib/DBM_Filter/t/01error.t line 60. # Tried to use 'ODBM_File'. # Error: Can't load '../lib/auto/ODBM_File/ODBM_File.sl' for modu +le ODBM_Fi le: Unresolved external at ../lib/XSLoader.pm line 68. # at ../lib/ODBM_File.pm line 12. # Compilation failed in require at (eval 5) line 2. # BEGIN failed--compilation aborted at (eval 5) line 2. FAILED at test 2 ext/ODBM_File/t/odbm .......................................... /usr/l +ib/dld.sl: Unresolved symbol: __dbm_do_nextkey (code) from /usr/lib/libdbm.1 # Failed test 'use ODBM_File;' # at ../../t/lib/dbmt_common.pl line 20. # Tried to use 'ODBM_File'. # Error: Can't load '../../lib/auto/ODBM_File/ODBM_File.sl' for m +odule ODBM _File: Unresolved external at ../../lib/XSLoader.pm line 68. # at ../../lib/ODBM_File.pm line 12. # Compilation failed in require at (eval 4) line 2. # BEGIN failed--compilation aborted at (eval 4) line 2. FAILED at test 1 ext/DynaLoader/t/DynaLoader ................................... /usr/l +ib/dld.sl: Can't open shared library: egg_bacon_sausage_and_spam /usr/lib/dld.sl: No such file or directory ok dist/Net-Ping/t/510_ping_udp .................................. # Fa +iled test at t/510_ping_udp.t line 32. # got: '0' # expected: '1' # Looks like you failed 1 test of 2. FAILED at test 2

How can I fix these issues.

Replies are listed 'Best First'.
Re: Compiling With GCC
by zwon (Abbot) on Jun 05, 2012 at 15:17 UTC

    It worth to say that you're using HP-UX. If you doesn't use ODBM_File you can disable building it by using -Dnoextensions=ODBM_File configure option. Note, that DynaLoader test is actually passed, it is expected warning. Can't say what's wrong with ping_udp, but it is network test, so it could be just a random fault, or maybe firewall intervened.