[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: BerkleyDB 2.4.52



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
>
> 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