> On 16 Jul 2014, at 5:10 pm, Viktor Dukhovni <postfix-us...@dukhovni.org> 
> wrote:
> 
> On Wed, Jul 16, 2014 at 04:49:49PM +1000, James Brown wrote:
> 
>> So change to:
>> 
>> AUXLIBS=?-L/usr/local/lib -llber -lresolv -L/usr/lib ? ?
> 
> Something like that.  Since you're using headers from /usr/local/include,
> you need the libpcre from /usr/local/lib.

Victor, changing the order so that it is:

make -f Makefile.init makefiles \
CCARGS='-arch x86_64 -DUSE_TLS -DUSE_SASL_AUTH \
-DDEF_SERVER_SASL_TYPE=\"dovecot\" \
-DDEF_COMMAND_DIR=\"/usr/local/sbin\" \
-DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" \
-DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" \
-DHAS_PCRE -I/usr/local/include \
-DHAS_SSL -I/usr/include/openssl \
-DHAS_MYSQL -I/usr/local/mysql/include' \
AUXLIBS='-L/usr/local/lib -llber -lresolv -L/usr/lib \
-L/usr/local/lib -lpcre -lssl -L/usr/local/mysql/lib \
-lmysqlclient -lz -lm’

and it stopped the errors re PCRE.

I get other errors re FIPS, but I’ll start another thread for that.

Thanks for your help.

James.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to