[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/bin/ld: cannot find -lndbm



A quick search using apt on #debian gave me this: (/usr/include/db1/ndbm.h)
in devel/libc6-dev
Maybe you don't have libc6-dev installed? Check for that first. I have no
way of knowing if you have it installed or not.

- Jordan

----- Original Message -----
From: "Erik van der Meulen" <e.van.der.meulen@avondel.nl>
To: <debian-user@lists.debian.org>
Sent: Tuesday, February 12, 2002 1:25 PM
Subject: /usr/bin/ld: cannot find -lndbm


> G'day all - I am trying to build spamassassin from the source-tar
> archive on my Potato box (the .deb only works for Woody/Sid).
> The Perl Makefile.PL reports something like 'looks good', but a
> consecutive 'make' reports:
>
>  souterrain:/home/erik/Mail-SpamAssassin-2.01# make
>  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 -lposix -lcrypt
>  /usr/bin/ld: cannot find -lndbm
>  collect2: ld returned 1 exit status
>  make: *** [spamd/spamc] Error 1
>
> It seems that my system is missing some file or package. I have looked
> around in apt-cache and the like, but no success. I hope some kind and
> knowing soul has a pointer for me...
>
> Thanks a lot!
>
> --
>   Erik van der Meulen <e.van.der.meulen@avondel.nl>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>



Reply to: