OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Undefined symbol `_db_version' build error on OpenBSD 3.3 with pcre-3.9

From: Peter H. Coffin (hellsopninehells.com)
Date: Wed Oct 01 2003 - 21:51:16 CDT


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

Stop in /usr/local/src/postfix-2.0.16-20030921/src/master (line 46 of
Makefile).
*** Error code 1

Stop in /usr/local/src/postfix-2.0.16-20030921 (line 39 of Makefile).
*** Error code 1

Stop in /usr/local/src/postfix-2.0.16-20030921 (line 15 of Makefile).
4 hellsop:/usr/local/src/postfix-2.0.16-20030921 $
----------------------

I've got the whole build in a session script if there's information
missing that would be helpful. Anyone have any ideas?

--
60. My five-year-old child advisor will also be asked to decipher any code I
    am thinking of using. If he breaks the code in under 30 seconds, it will
    not be used. Note: this also applies to passwords.
                --Peter Anspach's list of things to do as an Evil Overlord