After Compiling...

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Sun Aug 10 00:13:55 CEST 2003


On Sat, 9 Aug 2003, Lane P. Lester wrote:

> After a lot of help from my friends, I finally got bogofilter compiled.
> But my first run of it generated an error:
>
> LC2:~/SylpheedMail/inbox/Spam# cat * | bogofilter -s -v
> Created directory /root/.bogofilter .
> bogofilter: relocation error: bogofilter: undefined symbol: db_version
>
> I didn't see a command line argument that could be used to tell
> bogofilter the db_version.

As I recall, you used the incantation

export LD_LIBRARY_PATH="/usr/local/BerkeleyDB.4.1/lib:$LD_LIBRARY_PATH"
./configure --with-db=/usr/local/BerkeleyDB.4.1


Try using just

LDFLAGS=-R/usr/local/BerkeleyDB.4.1/lib ./configure --with-db=/usr/local/BerkeleyDB.4.1

instead.  This will hopefully set the linker run-time path to look in
/usr/local/BerkeleyDB.4.1/lib so the library is found without setting
LD_LIBRARY_PATH.

Bob
======================================
Bob Friesenhahn
bfriesen at simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen





More information about the Bogofilter mailing list