On Sun, May 12, 2002 at 07:27:56PM -0700, Harold Hallikainen wrote: | I'm VERY new to SpamAssassin (experience now approaching 10 minutes) | and seem to have trouble with the install. This is running in my own | area on my ISP's Debian linux machine. The problem is when I run | "make", I get the following: | | cc -Dbool=char -DHAS_BOOL -D_REENTRANT -DDEBIAN -I/usr/local/include | -O2 spamd/spamc.c \ | -o spamd/spamc -L/usr/local/lib -lnsl -lndbm -lgdbm | -ldbm -ldb -ldl -lm -lc -l | posix -lcrypt | /usr/bin/ld: cannot find -lgdbm | collect2: ld returned 1 exit status | make: *** [spamd/spamc] Error 1 | | So... what's this error mean? What can I do about it?
It means that the gdbm library isn't installed on that machine. You'll have to download and build it, or comment out all the AWL code (since that's what uses the dbm library) and build that way. I don't use the AWL myself. How about downloading the .deb and unpacking it in your home directory? Do that for all the libraries (eg libgdbm) it needs too. A .deb is just an ar archive that contains a data tarball and a control tarball. Use the command 'ar x foo.deb' to unpack the ar archive. Use 'tar -zxvf data.tar.gz' to unpack the data tarball. Then check the postinst script to see if you need to do anything to finish the installation of the package. That should work out nicely for you as long as you set LD_LIBRARY_PATH and any other environment variables to include $HOME as a "secondary root" directory. An alternative is to ask your ISP to install the package so that you can use it. It's as simple as 'apt-get install' :-). HTH, -D -- Like a gold ring in a pig's snout is a beautiful woman who shows no discretion. Proverbs 11:22 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg
msg04830/pgp00000.pgp
Description: PGP signature