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