You can do that yes.  spamc pretty much requires almost nothing to link
against, and MakeMaker insists on jamming a bunch of things into the
linker.  You can hand edit the Makefile after perl Makefile.PL, but a
probably better solution would be to find why MakeMaker on your machine
is trying to link libndbm in.  Could you add a line to the Makefile.PL
in the spamc build rule to just echo all those $(CFCCFLAG) etc paramters
in a way where we can tell which one is which?  Then we can try to track
down which one is inserting the bogus libs.

Thanks,

C

On Tue, 2002-02-12 at 14:40, Erik van der Meulen wrote:
> On Tue, Feb 12, 2002 at 17:22:29 -0500, Duncan Findlay wrote:
> 
> > On my system, -lndbm is not required, it seems. I think it has to do with
> > MakeMaker choosing what is needed (incorrectly?). However, libndbm.so is
> > listed as belonging to libc6-dev on potato, on packages.d.o.
> 
> Thanks a lot for your help. I do have libc6-dev installed, but a:
> 
>   dpkg -L libc6-dev| grep ndbm
> 
> gives only:
> 
>   /usr/include/db1/ndbm.h
> 
> a find for libndbm.so shows nothing on the system.
> 
> Am I right in interpreting your answer '-lndbm is not required' that I
> can modify the Makefile so it does not inculde that particular option
> and build again? I am a little unsure in this field, have never coded a
> line in my life...
> 
> Best regards.
> 
> --
>   Erik van der Meulen <[EMAIL PROTECTED]>
> 
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
> 
> 


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to