|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Undefined symbol `_db_version' build error on OpenBSD 3.3 with pcre-3.9
From: Wietse Venema (wietse
porcupine.org)
Date: Thu Oct 02 2003 - 07:15:58 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Peter H. Coffin:
> I'm attempting to play with pcre enabling using the current snapshot on
> an OpenBSD 3.3 system. Without the pcre package installed, postfix
> builds cleanly. With pcre, the build fails here:
>
> ----------------------
> gcc -Wmissing-prototypes -Wformat -DHAS_PCRE -I/usr/local/include -g -O
> -I. -I../../include -DOPENBSD3 -o master master.o master_conf.o
> master_ent.o master_sig.o master_avail.o master_spawn.o
> master_service.o master_status.o master_listen.o master_vars.o
> master_wakeup.o master_flow.o ../../lib/libglobal.a ../../lib/libutil.a
> -L/usr/local/lib -lpcre
> dict_db.c:468: Undefined symbol `_db_version' referenced from text segment
> dict_db.c:543: Undefined symbol `_db_create' referenced from text segment
> collect2: ld returned 1 exit status
> *** Error code 1
You have used the INCLUDE file from Berkeley DB version X and you
are linking against the LIBRARY of Berkeley DB version Y.
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]