FreeBSD 8: gdbm.h: No such file or directory
Michael Powell
nightrecon at hotmail.com
Mon May 3 18:59:24 UTC 2010
perikillo wrote:
> Hi.
>
> I want to install http://www.csamuel.org/software/vacation/
>
> Version vacation-1.2.7.0, the INSTALL say:
>
> "under FreeBSD type 'gmake' to compile
> the program. To install it you will need to do (as root) 'make install'
> or, for FreeBSD, 'gmake install'."
>
This version is very old.
[snip]
>
> "In file included from vacation.c:92:" ===> static GDBM_FILE db; in
> vacation.h
>
> Now, I copy /usr/local/include/gdbm.h to /usr/include
>
> But now I got:
>
> gcc -g -Wall -DMAIN -Xlinker -warn-common
> -D_PATH_VACATION=\"/usr/bin/vacation\" -o vacation vacation.c strlcpy.c
> strlcat.c rfc822.c -lgdbm
> /usr/bin/ld: cannot find -lgdbm
> gmake: *** [vacation] Error 1
>
> Perl is install with gdbm, what could cause the error?
>
Why not try using the one in the ports system? So much easier.
-Mike
More information about the freebsd-questions
mailing list