On 12 March 2002, Clayton A. Burnham said: > I get the following error while "making" SpamAssassin: > > gcc -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE >-D_FILE_OFFSET_BITS=64 -O spamd/spamc.c \ > -o spamd/spamc -L/usr/local/lib -lsocket -lnsl -lgdbm -ldb -ldl -lm >-lc > ld: fatal: library -ldb: not found > ld: fatal: File processing errors. No output written to spamd/spamc > collect2: ld returned 1 exit status > make: *** [spamd/spamc] Error 1
Hmmm, second one today. The problem is apparently that Perl was built with a library that is no longer available on your system. Or, more accurately, Perl's Configure script deemed that the "db" library is necessary to build Perl extensions on your system; the build instructions for spamc use Perl's idea of what libraries are needed for Perl extensions, even though spamc is a standalone C program and not a Perl extension. It should be safe to edit your Makefile and remove the "-ldb" reference, although this is a kludge. There's something wrong either with your Perl build or with SA's Makefile.PL. Greg -- Greg Ward - software developer [EMAIL PROTECTED] MEMS Exchange http://www.mems-exchange.org _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk