[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: BerkleyDB 2.4.52
>>> Igor Brezac <igor@ipass.net> 01/26/04 06:00pm >>>
Have you checked config.log?
-Igor
On Mon, 26 Jan 2004, [iso-8859-1] Jorge Ru*o wrote:
> Hi all,
>
> 1. I've installed BerkeleyDB4.2.52 with
> /dist/configure
> Make
> Make install
>
> 2. I've edited "/etc/ld.so.conf" and include
> /usr/local/BerkeleyDB.4.2
<<<<<<<<<<<<<<<
Is this just a typo, or did you really put that, because it needs to be
"/usr/local/BerkekeyDB.4.2/lib" in /etc/ld.so.conf, I think. Try an
"ldconfig -p|grep Berkeley" to make sure they really were put in.
Mike
>>>>>>>>>>>>>>>
>
> 3. then I've run "ldconfig -v"
>
> 4. I've set the flags with:
> export LDFLAGS="-L/usr/local/BerkeleyDB.4.2/lib"
> export CPPFLAGS="-I/usr/local/BerkeleyDB.4.2/include"
>
> 5. then I run:
> ./configure
>
> And I get
> checking for Berkley DB link (default)… no
> checking for Berkley DB link (-ldb42)… no
> checking for Berkley DB link (-ldb-42)… no
> checking for Berkley DB link (-ldb-4.2)… no
> checking for Berkley DB link (-ldb-4-2)… no
> checking for Berkley DB link (-ldb41)… no
> checking for Berkley DB link (-ldb-41)… no
> checking for Berkley DB link (-ldb-4.1)… no
> checking for Berkley DB link (-ldb-4-1)… no
> checking for Berkley DB link (-ldb-4)… no
> checking for Berkley DB link (-ldb4)… no
> checking for Berkley DB link (-ldb)… yes
> checking for Berkley DB thread support… yes
> checking Berkley version for BDB backend… no
> configure: error: BDB: BerkleyDB version incompatible
>
> but it did'nt worked too!
>
> The only solution that avoided this problem was to copy the
BerkeleyDB 2.4
> include and lib files to /usr/include and /usr/lib respectively.
>
> It worked fine.
>
> Jorge Ruao
>
> >>>>>
> Did you install BerkeleyDB from an RPM or from source? If from
source,
> did you remember to edit /etc/ld.so.conf to include
> /usr/local/BerkleyDB.4.2/lib and run ldconfig?
> >>>>>
>
> >>>>>
> LDFLAGS="-L/u/usr/local/BerkeleyDB.4.2/lib" \ CPPFLAGS="
> -I/u/usr/local/BerkeleyDB.4.2/include" \ ./configure
> >>>>>
>
>
>
>
--
Igor