BerkeleyDB: dynamic linking

Mirek Luc mirecki at nask.pl
Sat Oct 21 16:02:46 UTC 2000


I built INN test version with:
--with-berkeleydb=/usr/local/BerkeleyDB.3.1
But I installed BerkeleyDB as a dynamic library, shared object. So then ld
couldn't find libdb in a runtime because there was neither proper 
LD_RUN_PATH environment variable nor "-R" as a compile option (gcc). I
took a look at Makefile.global and I think it cuould be fixed very simple:
EXTSTORAGELIBS  = -ldb -R/usr/local/BerkeleyDB.3.1/lib
Heath, what about it?

-Mirek




More information about the inn-workers mailing list