[ This is the conclusion of a discussion about fwtk on RH6, and problems
compiling. It seems the compat-glibc-5.2-2.0.7.1 package is required, as
well as updating the AUXLIB define in the stock Makefile.config:
AUXLIB=-lndbm -lcrypt
Would you mind adding this to the FWTK FAQ? ]
> > cc -I.. -g -c db.c -o db.o > > db.c:16: ndbm.h: No such file or directory
> > make[1]: *** [db.o] Error 1
>
> Yep, I missed it...
>
> > The i386-glibc20-linux is from the compat-glibc20 package, which I didn't
> > have installed. After installing it, gcc still can't find it. If I point
> > it directly at that header, I get:
>
> Adding this, -lndbm, and -lcrypt seems to have solved all the problems here.
Yes, that worked for me too. Not at first, though. I added it to the
DBMLIB define, instead of the AUXLIB define. Argh. Is ndbm an older
database? Are we not using gdbm these days?
Thanks,
Dave
-
[To unsubscribe, send mail to [EMAIL PROTECTED] with
"unsubscribe firewalls" in the body of the message.]