|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Compiling Postfix With MySql Support
From: Brent Robinson (brentrobinson
timesnews.net)
Date: Tue Mar 28 2006 - 15:52:07 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Yes, I checked, and /usr/local/mysql/include and /usr/local/mysql/lib do
exist on the system.
Brent R.
----- Original Message -----
From: "Chris Horry" <zerbey
wibble.co.uk>
To: "Postfix Mailing List" <postfix-users
postfix.org>
Sent: Tuesday, March 28, 2006 4:40 PM
Subject: Re: Compiling Postfix With MySql Support
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Brent Robinson wrote:
>> 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?
>
> Does /usr/local/mysql/include and /usr/local/mysql/lib exist?
>
> Chris
>
>
> - --
> Chris Horry KG4TSM "In theory there is no difference between
> zerbey
wibble.co.uk theory and practice. In practice there is."
> http://www.wibble.co.uk -- Yogi Berra
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEKa07nAAeGCtMZU4RAtrgAJ43jMnBydHCWh8DM9rqW/6X3ul8mwCeNJX/
> T3o13Rze0b8MQU5r8XE6ZcA=
> =ecAl
> -----END PGP SIGNATURE-----
>
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]