Re: [cvs] bogofilter NEWS,1.527,1.528 Makefile.am,1.173,1.174
Matthias Andree <[email protected]> Wed, 28 Dec 2005 02:05:38 +0100
| Newsgroups | gmane.mail.bogofilter.devel |
|---|---|
| Message-ID | <[email protected]> |
Matthias Andree <[email protected]> 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 Andree _______________________________________________ Bogofilter-dev mailing list [email protected] http://www.bogofilter.org/mailman/listinfo/bogofilter-dev