Skip Menu |

This queue is for tickets about the DB_File CPAN distribution.

Report information
The Basics
Id: 3826
Status: resolved
Priority: 0/
Queue: DB_File

People
Owner: pmqs [...] cpan.org
Requestors: mir [...] datanom.net
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.806
Fixed in: (no value)



Subject: error in Makefile
I am trying to install DB_File on a Redhat 7.2 distro, but this is not possible because the Makefile has an error. The error is due to the fact that the options for ld is not apropriate for this version of ld. ld: GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8) Error message: LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/lib version.o DB_File.o -o blib/arch/auto/DB_File/DB_File.so -ldb /usr/bin/ld: cannot find -ldb collect2: ld returned 1 exit status
From: Paul Marquess
[guest - Sat Sep 20 14:18:13 2003]: Show quoted text
> I am trying to install DB_File on a Redhat 7.2 distro, but this is not > possible because the Makefile has an error. The error is due to the > fact that the options for ld is not apropriate for this version of ld. > > ld: GNU ld version 2.11.90.0.8 (with BFD 2.11.90.0.8) > > Error message: > LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/lib version.o > DB_File.o -o blib/arch/auto/DB_File/DB_File.so -ldb > /usr/bin/ld: cannot find -ldb > collect2: ld returned 1 exit status
The "-ldb" is a vital part of the link line. It's needed to include the Berkeley DB library. Looks suspiciously like you haven't got the Berkeley DB library installed on your system. Paul