Thread View: news.software.nntp
4 messages
4 total messages
Started by Craig Ian Dewick
Thu, 06 Apr 2006 20:38
inn 2.4.3 compiling - doesn't find libdb
Author: Craig Ian Dewick
Date: Thu, 06 Apr 2006 20:38
Date: Thu, 06 Apr 2006 20:38
39 lines
2720 bytes
2720 bytes
Hi everyone, 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: /usr/ccs/bin/ld -G -h libstorage.so.2 -o .libs/libstorage.so.2.0.0 expire.lo interface.lo methods.lo ov.lo overdata.lo ovmethods.lo buffindexed/buffindexed.lo cnfs/cnfs.lo ovdb/ovdb.lo timecaf/caf.lo timecaf/timecaf.lo timehash/timehash.lo tradindexed/tdx-cache.lo tradindexed/tdx-data.lo tradindexed/tdx-group.lo tradindexed/tradindexed.lo tradspool/tradspool.lo trash/trash.lo -R/azwan/inn-2.4.3/lib/.libs -R/news/lib -R/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib -L/usr/sfw/lib:/usr/openwin/lib:/usr/local/lib /azwan/inn-2.4.3/lib/.libs/libinn.so -ldb -lresolv -lsocket -lnsl -lc ld: fatal: library -ldb: not found ld: fatal: File processing errors. No output written to .libs/libstorage.so.2.0.0 make[1]: *** [libstorage.la] Error 1 make[1]: Leaving directory `/azwan/inn-2.4.3/storage' make: *** [all-storage] Error 2 Any ideas what might be triggering this? Craig. -- Craig Dewick (craig@poison.lios.apana.org.au). http://lios.apana.org.au/~craig APANA Sydney Deputy Regional Co-ordinator. Operator of Jedi (APANA Sydney POP) Always striving for a secure long-term future in an insecure short-term world Have you exported a crypto system today? Do your bit to undermine the NSA.
Re: inn 2.4.3 compiling - doesn't find libdb
Author: Russ Allbery
Date: Thu, 06 Apr 2006 20:59
Date: Thu, 06 Apr 2006 20:59
24 lines
2058 bytes
2058 bytes
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.
--
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.
Re: inn 2.4.3 compiling - doesn't find libdb
Author: Craig Ian Dewick
Date: Sat, 08 Apr 2006 10:39
Date: Sat, 08 Apr 2006 10:39
43 lines
3002 bytes
3002 bytes
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? Regards, Craig. -- Craig Dewick (craig@poison.lios.apana.org.au). http://lios.apana.org.au/~craig APANA Sydney Deputy Regional Co-ordinator. Operator of Jedi (APANA Sydney POP) Always striving for a secure long-term future in an insecure short-term world Have you exported a crypto system today? Do your bit to undermine the NSA.
Re: inn 2.4.3 compiling - doesn't find libdb
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads