Article View: news.software.nntp
Article #74098Re: inn 2.4.3 compiling - doesn't find libdb
From: Russ Allbery
Date: Sat, 26 Aug 2006 19:53
Date: Sat, 26 Aug 2006 19:53
50 lines
3473 bytes
3473 bytes
Craig Ian Dewick <craig@lios.apana.org.au> writes:
> Russ Allbery <rra@stanford.edu> writes:
>> Craig Ian Dewick <craig@lios.apana.org.au> writes:
>>> Perhaps not strictly an Inn issue, but on the news server I have
>>> Berkeley DB installed under /usr/local so the libs are in
>>> /usr/local/lib, etc.
>>> I use this script to configure Inn:
>>> sh ./configure --prefix=/news --enable-uucp-rnews --enable-libtool \
>>> --with-perl --with-python --with-sendmail=/usr/lib/sendmail \
>>> --with-berkeleydb --enable-ipv6 --with-log-compress=gzip
>>> The configure process is fine, and the build process is fine until this
>>> step when it tried to build libstorage:
>> What version of Berkeley DB do you have installed? It probably should
>> be trying -ldb4 or something instead of -ldb. The logic is a bit
>> complex, but with some more details I might be able to figure out how
>> to fix it.
> Thanks for the followup Russ. At the moment the server has 4.4.16 and
> 4.1.25 installed, and I think that could be a clue. I had 4.1.25 on the
> server for ages (it was used when I built Inn 2.4.0) and more recently
> I've built and installed 4.4.16 to replace it, leaving the libs,
> etc. for 4.1.25 in place. The symlinking for 4.4.16 means only
> applications directly referring to the older 4.1.25 libs will see those.
> However, and I have not tried it yet since there are other apps on the
> machine using 4.1.25, if I removed 4.1.25 completely the problem with
> linking libstorage may go away.
> Is anyone aware of duplicate versions of Berkeley db being installed
> causing a problem when trying to link against those libraries?
I'm sorry that I didn't get back to this in any sort of reasonable
timeframe. The problem is almost certainly with the logic in INN for
finding appropriate BerkeleyDB libraries, but in order to know how to fix
that, I need to know what the layout of your installed libraries looks
like. Specifically, where are the include files, where are the actual
libraries, and what's the name of the library?
It's possible that the logic in CURRENT does a better job.
--
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:
<87y7tbtgt0.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<e13u7h$i9t$1@yoda.apana.org.au> <87r74ae7zc.fsf@windlord.stanford.edu> <e183sl$3aj$2@yoda.apana.org.au>Show Full Headers
Complete Article Headers
Message-ID: <87y7tbtgt0.fsf@windlord.stanford.edu> Subject: Re: inn 2.4.3 compiling - doesn't find libdb Date: Sat, 26 Aug 2006 12:53:15 -0700 From: Russ Allbery <rra@stanford.edu> References: <e13u7h$i9t$1@yoda.apana.org.au> <87r74ae7zc.fsf@windlord.stanford.edu> <e183sl$3aj$2@yoda.apana.org.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 50 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1156621996 24170 171.64.19.147 (26 Aug 2006 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) Cancel-Lock: sha1:lLwjZQmwZL7wO+uRgsoDFe+2GSc=