[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fwd: Re: compile problem
From: |
Mark . Burgess |
Subject: |
Re: Fwd: Re: compile problem |
Date: |
Thu, 25 Jul 2002 11:41:16 +0200 (MET DST) |
Bas is right,
also you don't say what system you are using, but you might need to
add the Berkeley path to ld.so.conf adn run ldconfig instead
M
On 25 Jul, Bas van der Vlies wrote:
> This is a shared library. So i think you have to set:
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/BerkeleyDB.4.0/lib
> ./configure
>
>
> On Thu, 25 Jul 2002 09:53:25 +0100
> "Martin A. Brooks" <martin@clues.ltd.uk> wrote:
>
>> Hi Adam
>>
>>
>> >>What does config.log show ?
>>
>> It shows:
>>
>> [root@rhupdate cfengine-2.0.3]# cat config.log | grep -i db
>> configure:3440: checking for BerkeleyDB location
>> configure:3493: result: /usr/local/BerkeleyDB.4.0
>> configure:3512: checking Berkeley DB Version
>> configure:3536: gcc -o conftest -g -O2
>> -I/usr/local/BerkeleyDB.4.0/include -L/usr/local/BerkeleyDB.4.0/lib
>> conftest.c -lm -ldb >&5
>> ./conftest: error while loading shared libraries: libdb-4.0.so: cannot
>> open shared object file: No such file or directory
>> #include <db.h>
>> printf("%d.%d.%d
>> ",DB_VERSION_MAJOR,DB_VERSION_MINOR,DB_VERSION_PATCH); if
>> (DB_VERSION_MAJOR < 3 || (DB_VERSION_MAJOR == 3 &&
>> DB_VERSION_MINOR
>> < 2))
>> configure:3552: error: This release of cfengine requires BerkeleyDB
>> 3.2 or later
>> #define USE_BERKELEY_DB 1
>>
>> Yet this file /does/ exist....
>>
>> [root@rhupdate cfengine-2.0.3]# ls -l
>> /usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
>> -r--r--r-- 1 root root 598354 Jul 24 11:36
>> /usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
>>
>>
>> Regards
>>
>> Mart.
>>
>>
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@gnu.org
>> http://mail.gnu.org/mailman/listinfo/help-cfengine
>
>
> --
> ********************************************************************
> * *
> * Bas van der Vlies e-mail: basv@sara.nl *
> * SARA - Academic Computing Services phone: +31 20 592 8012 *
> * Kruislaan 415 fax: +31 20 6683167 *
> * 1098 SJ Amsterdam *
> * *
> ********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~