OSEC

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: Keith Matthews (keith_msweeney.demon.co.uk)
Date: Thu Oct 02 2003 - 03:24:39 CDT


On Wed, 1 Oct 2003 21:51:16 -0500
"Peter H. Coffin" <hellsopninehells.com> wrote:

> 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
>

Are you sure your pcre installation is correct ? I did a build a
couple of days ago on 3.3 for 2.0.16 with mysql+pcre and that worked
fine.