symlink your (real) libdb.so and libdb.a to libdb-3.so and libdb-3.a,
respectively

Scott

On Thu, 5 Apr 2001, paul wrote:

> Hi all,
>
> well I went back to the machine in question and grabbed the info
> relating to my ./configure problem. I have properly installed db3, but
> cyrus appears to fail its detection:
>
> *********************************
> ...
> ...
> ...
> checking for opendir in -ldir... no
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for tm_zone in struct tm... yes
> checking for vprintf... yes
> checking for db_create in -ldb-3... no
> checking for db_create in -ldb... no
> configure: error: this version requires Berkeley DB 3.x.
> (Get it from http://www.sleepycat.com/.)
> [root@server cyrus-imapd-2.0.12]#
> *********************************
> So I grabbed and installed db3 from Sleepycat...
>
> [root@server include]# ls db* -l
> -r--r--r--    1 root     root        51043 Apr  4 02:54 db.h
> -r--r--r--    1 xfs      users       19263 Jan 12 07:28 db_cxx.h
>
> db:
> total 8
> -rw-r--r--    1 root     root         5835 Mar  9 09:27 db_185.h
>
> db1:
> total 24
> -rw-r--r--    1 root     root         8298 Jan 18 10:53 db.h
> -rw-r--r--    1 root     root         4456 Jan 18 10:53 mpool.h
> -rw-r--r--    1 root     root         2877 Jan 18 10:53 ndbm.h
>
> db3:
> total 0
>
> [root@server lib]# ls libdb* -l
> -r--r--r--    1 root     root       861038 Apr  4 02:55 libdb.a
> lrwxrwxrwx    1 root     root           20 Mar  5 02:55 libdb.so ->
> ../../lib/libdb.so.3*
> -rw-r--r--    1 root     root       953286 Jan 18 10:53 libdb1.a
> lrwxrwxrwx    1 root     root           21 Mar  5 02:55 libdb1.so ->
> ../../lib/libdb1.so.2*
> [root@server lib]#
> *********************************
>
> But it still fails.
>
> Any help would really be appreciated. The location of up-to-date
> Mandrake RPMS would also be a boon (and a possible workaround!)
>
> Best regards,
> Paul Dorman.
>

Reply via email to