J.D. Bronson:
> I installed a port of Berkeley db41-4.1.25_4 so I could build Cyrus 
> (via another port) and having an issue trying to get postfix to build 
> against it.
> I need to make sure postfix and cyrus link against the same bdb of course.
> 
> 
> #locate libdb41
> /usr/local/lib/libdb41.a
> /usr/local/lib/libdb41.so
> /usr/local/lib/libdb41.so.1
> /usr/local/lib/libdb41_cxx.a
> /usr/local/lib/libdb41_cxx.so
> /usr/local/lib/libdb41_cxx.so.1
> 
> ldconfig reports:
> # ldconfig -r | grep db
>          42:-lhdb.9 => /usr/lib/libhdb.so.9
>          85:-lthread_db.3 => /usr/lib/libthread_db.so.3
>          102:-lgdbm.0 => /usr/local/lib/libgdbm.so.0
>          105:-ltdb.1 => /usr/local/lib/libtdb.so.1
>          106:-ltdb.0 => /usr/local/lib/libtdb.so.0
>          111:-ldb41.1 => /usr/local/lib/libdb41.so.1
>          113:-ldb41_cxx.1 => /usr/local/lib/libdb41_cxx.so.1

You have no db. You have hdb, thread_db, gdbm, tdb, and db41.

> /usr/bin/ld: cannot find -ldb

This is not surprising. Maybe -ldb41 will work. Maybe it will blow
up when something else wants to use the default Berkeley DB.

What problem are you trying to solve? Is there a problem with the
default Berkeley DB library? 

        Wietse

Reply via email to