Re: [Exim] Problems Building 4.20 with BerkeleyDB.4.1.25

Pàgina inicial
Delete this message
Reply to this message
Autor: Stephen Kitchener
Data:  
A: Andreas Metzler, exim-users
Assumpte: Re: [Exim] Problems Building 4.20 with BerkeleyDB.4.1.25
On Tuesday 26 Aug 2003 08:02 am, Andreas Metzler wrote:
> On Mon, Aug 25, 2003 at 11:12:44PM +0100, Stephen Kitchener wrote:
> > I get
> >
> > gcc -c -O -I/usr/local/BerkeleyDB.4.1/include -o exim_dbmbuild.o
> > exim_dbmbuild.c
> > gcc -o exim_dbmbuild exim_dbmbuild.o \
> > -lnsl -lcrypt -L/usr/local/BerkeleyDB.4.1/lib/libdb.a
>
> [error message]
>
> > I have set in the Local/Makefile the following
> >
> > USE_DB=yes
> >
> > INCLUDE=-I/usr/local/BerkeleyDB.4.1/include
> > DBMLIB=-L/usr/local/BerkeleyDB.4.1/lib/libdb.a
> >
> > as extras to the Makefile, as described in the help on exims site.
>
> [...]
>
> Could you show us where you read that, so it can be fixed? This is
> broken.


If you follow the link to "Documentation anf FQA" on the side panel and select
the "here" link under "Frequently Asked Questions - FAQ" , then select "1.
BUILDING AND INSTALLING", this details the information which I followd.

>
> Quoting gcc(1)
>
> | -Ldir  Add directory dir to the list of directories to be
> |       searched for `-l'.
> |---------------------------

>
> /usr/local/BerkeleyDB.4.1/lib/libdb.a is no directory.
>
> You want to use either
> DBMLIB=/usr/local/BerkeleyDB.4.1/lib/libdb.a
> for static linking or
> DBMLIB=-L/usr/local/BerkeleyDB.4.1/lib -ldb
> for dynamic linking.
>              cu andreas
> --
> "See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
> fuhggvat qbja gur juveyvat tha.
> Neal Stephenson in "Snow Crash"

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
> details at http://www.exim.org/ ##


--
                 O  o
            _\_   o
         \\/  o\ .
         //\___=
            ''
Tue, 26 Aug 2003 21:05:20 +0100
 21:05:20 up 12:51,  2 users,  load average: 2.11, 2.07, 2.01
"Pull the wool over your own eyes!"
-- J.R. "Bob" Dobbs