OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
postfix and mysql 5

From: Alex (aleksanderkrediidiinfo.ee)
Date: Fri Jun 02 2006 - 04:26:18 CDT


Hi,

I'm trying to build postfix with mysql support. The mysql version is
5.0.21, as are the headers.

When I build it, bin/postfix is not linked to a mysql lib. When I tried
mysql version 4.0.18, it did link it.

I've tried postfix version 2.1.1 as the latest stable. Same result.

Linking with 4.0.18 works, 5.0.21 not.

The command I use is this:
CCARGS="-DHAS_MYSQL -I/usr/include/mysql" AUXLIBS="-L/usr/lib/mysql
-lmysqlclient -lz -lm"

The dirs are definitely correct, I'm not able to find any compile time
errors.

Help appreciated,
        Alex