|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Compiling Postfix With MySql Support
From: Brent Robinson (brentrobinson
timesnews.net)
Date: Tue Mar 28 2006 - 15:01:04 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I've been trying to recompile Postfix with MySql support on a Mac OSX 10.3.9 system, and here is what I've encountered:
Per postfix.org, to build Postfix with MySql map support, the following command should be issued prior to running 'make':
make -f Makefile.init makefiles \
'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include' \
'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm'
I've executed that command, and then when I run 'make', the last few lines of feedback that I receive are as follows:
cd ../../include; chmod 644 tls.h tls_prng.h tls_scache.h tls_mgr.h
[src/master]
cc -DHAS_MYSQL -I/usr/local/mysql/include -DBIND_8_COMPAT -DNO_NETINFO -DHAS_PCRE -I/usr/local/include -g -O -I. -I../../include -DMACOSX -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/mysql/lib -lmysqlclient -lz -lm -L/usr/local/lib -lpcre -flat_namespace
ld: Undefined symbols:
_db_create
_db_version
make: *** [master] Error 1
make: *** [update] Error 1
Can anyone provide any insight into what is going wrong and what I can do to correct it?
Thanks,
Brent R.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]