Skip Menu |

This queue is for tickets about the DB_File CPAN distribution.

Report information
The Basics
Id: 4656
Status: open
Priority: 0/
Queue: DB_File

People
Owner: pmqs [...] cpan.org
Requestors: bug [...] wingenbach.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.807
Fixed in: (no value)



Subject: Link failure
Build with perl 5.8.1 base on AIX 5.2 host with xlC compiler. Link failed: rm -f blib/arch/auto/DB_File/DB_File.so LD_RUN_PATH="" ld -bhalt:4 -bM:SRE -bI:/usr/local/5.8.1/lib/perl5/5.8.1/aix/CORE/perl.exp -bE:DB_File.exp -bnoentry -lc -L/usr/local/lib version.o DB_File.o -o blib/arch/auto/DB_File/DB_File.so -L/usr/local/BerkeleyDB/lib -ldb -lpthread ld: 0711-317 ERROR: Undefined symbol: .mutex_lock ld: 0711-317 ERROR: Undefined symbol: .cond_signal ld: 0711-317 ERROR: Undefined symbol: .mutex_unlock ld: 0711-317 ERROR: Undefined symbol: .mutex_trylock ld: 0711-317 ERROR: Undefined symbol: .cond_wait ld: 0711-317 ERROR: Undefined symbol: .mutex_init ld: 0711-317 ERROR: Undefined symbol: .cond_init ld: 0711-317 ERROR: Undefined symbol: .mutex_destroy ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. make: 1254-004 The error code from the last command is 8. Adding -lthread to the list of libraries resolves the link failure and tests complete successfully