Compilation problem of latest BETA with FreeBSD 4.0 and Berkeley DB 3.0

Jaye Mathisen mrcpu at
Mon May 15 19:32:00 UTC 2000

gcc -g -O2 -I../include    -c tcl.c
gcc -g -O2 -I../include   -c timer.c
gcc -g -O2 -I../include   -c wip.c
gcc  -L/usr/local/BerkeleyDB.3.0/lib -o innd art.o cc.o chan.o his.o icd.o
innd.o lc.o nc.o  newsfeeds.o ng.o perl.o proc.o python.o rc.o site.o
status.o tcl.o timer.o wip.o ../storage/libstorage.a ../lib/libinn.a -ldb
../lib/perl.o -Wl,-R/usr/lib -Wl,-E -lperl -lm
-L/usr/libdata/perl/5.00503/mach/CORE -lperl -lm -lc -lperl -lm  -lutil
/usr/libexec/elf/ld: cannot open -ldb: No such file or directory
*** Error code 1

Stop in /news/src/inn-BETA-20000515/innd.
*** Error code 1

Stop in /news/src/inn-BETA-20000515.
newsfeed# ls /usr/local/BerkeleyDB.3.0/lib              libdb-3.soname_spec=

There is no just plan db library with the default install of Berkeley DB
3.0.55...  Not sure what the right thing to do is.

A quick tweak of symlinking to in the BerkeleyDB
dir seems to work around it OK.

More information about the inn-bugs mailing list