Article View: news.software.nntp
Article #50932Re: Strange inn compilation error
From: Russ Allbery
Date: Fri, 02 Mar 2001 23:05
Date: Fri, 02 Mar 2001 23:05
35 lines
2179 bytes
2179 bytes
Gudlyf <gudlyf@usa.NOSPAM.net> writes:
> Red Hat Linux 7.0 (kernel 2.2.16, glib-1.2.8-4)
> When I try install INN-2.3.1:
> # ./configure
> works. But...
> # make
> . . .
> cd authprogs && make all
> make[1]: Entering directory `/usr/src/inn-2.3.1/authprogs'
> gcc -g -O2 -I../include -c ckpasswd.c -o ckpasswd.o
> gcc -o ckpasswd ckpasswd.o -lresolv -lcrypt
> ckpasswd.o: In function `GetDBPass':
> /usr/src/inn-2.3.1/authprogs/ckpasswd.c:89: undefined reference to
> `dbm_open'
> /usr/src/inn-2.3.1/authprogs/ckpasswd.c:94: undefined reference to
> `dbm_fetch'
> /usr/src/inn-2.3.1/authprogs/ckpasswd.c:96: undefined reference to
> `dbm_close'
> /usr/src/inn-2.3.1/authprogs/ckpasswd.c:101: undefined reference to
> `dbm_close'
It couldn't find gdbm or db (1.x) on your system. Try installing the -dev
package for either gdbm or db 1.x. (Need to fix ckpasswd so that it
doesn't even try if it can't find a library containing those functions.)
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<yl66hrvkjz.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<LwSn6.515$5%.161074@paloalto-snr1.gtei.net>Show Full Headers
Complete Article Headers
Message-ID: <yl66hrvkjz.fsf@windlord.stanford.edu> Subject: Re: Strange inn compilation error Date: Fri, 02 Mar 2001 23:05:20 +0000 From: Russ Allbery <rra@stanford.edu> References: <LwSn6.515$5%.161074@paloalto-snr1.gtei.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.tele.dk!171.64.14.106!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 34 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 983574321 2277 171.64.13.23 (2 Mar 2001 23:05:21 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)