Isak Lyberth wrote:
> I have walked through the archives and done some googeling on this 
> without finding anything relevant.
> I have a box wich runs OpenBSD 3.0 on a pentium 2 machine.
> When ever i make a:
> |configure --with-auth=unix --disable-cyradm
> make depen
> ||make all CFLAGS=-O|
> 
> i get a error saying:
> ### Making all in /usr/src/cyrus-imapd-1.6.24/imap
> gcc -L/usr/lib -R/usr/lib -L/usr/local/lib -R/usr/local/lib  -g -O2 -o  
> dump_deliverdb dump_de
> iver.o libimap.a ../lib/libcyrus.a -lsasl -lssl -lcrypto  -lkrb -lfl   
> -ldes -lcom_err
> dump_deliver.o: Undefined symbol `___db185_open' referenced from text 
> segment

You appear to be compiling against the Berkeley DB version 1.85 - it 
found the include files for it, but you are not linking against the 
correct library. Try configuring instead with:

     ./configure --with-auth=unix --disable-cyradm --with-dbdir=<DIR>

where <DIR> is where the Berkeley DB port is installed on your system. 
It's been a while since I've used OpenBSD, look through your installed 
ports list to figure out where that is.

--
Scott Lamb

Reply via email to