[cvs] bogofilter NEWS,1.527,1.528 Makefile.am,1.173,1.174

David Relson relson at osagesoftware.com
Wed Dec 28 05:34:28 CET 2005


On Wed, 28 Dec 2005 02:05:38 +0100
Matthias Andree wrote:

> Matthias Andree <matthias.andree at gmx.de> writes:
> 
> > Another thing, on SUSE all of the database libraries (libdb.a and
> > libsqlite3.a) require -lpthread for the static link (we don't have
> > autoconf support for that). I'll try to get autoconf support for that.
> 
> Turns out to be nontrivial, so this won't happen today :-(
> 
> What is needed is to turn -ldb -lpthread into their static counterparts
> (libdb.a libpthread.a) and suppress the later -ldb (works everywhere),
> or just use -Wl,-Bstatic -ldb -lpthread -Wl,-Bdynamic (works with GNU
> ld).
> 
> If there are robust wrapper scripts that can handle this nonsense and at
> the same time leave glibc linked dynamically, that may just be what we
> want - we can use GLIBC 2.2 (so the exe works everywhere) by using
> -D__NO_CTYPE in CFLAGS, I have it in my ~/.rpmrc like this:
> 
> optflags: i386 -O2 -march=i386 -mtune=i586 -pipe -D__NO_CTYPE
> 
> The other remaining problem is to run this on a distribution old enough
> where the stuff we build into bogofilter through libpthread.a will work
> everywhere. SUSE 10.X is not a candidate, it uses NPTL and will thus
> fail on pre-NPTL systems.

Matthias,

Al has such systems available.  I wonder if we can enlist him to build
bogofilter-sqlite-static rpms for us.

Al,

Are you interested?

Regards,

David

CC: Al (who's on the user list, not the developer's list)



More information about the bogofilter-dev mailing list