I’ve tried to upgrade my installation of Postfix from 2.10 to 2.11 (and to 
2.11.1), but get this error:

Undefined symbols for architecture x86_64:
 "_pcre_free_study", referenced from:
     _dict_pcre_open in libutil.a(dict_pcre.o)
     _dict_pcre_close in libutil.a(dict_pcre.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [sendmail] Error 1
make: *** [update] Error 1

I’m using this command to compile:


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/lib -llber -lresolv -L/usr/local/lib \
-L/usr/local/lib -lpcre -lssl -L/usr/local/mysql/lib \
-lmysqlclient -lz -lm’

after installing PCRE library using:

CFLAGS="-arch x86_64" \
CXXFLAGS="-arch x86_64"
./configure
make
sudo make install

OS is Mac OS X 10.7.5

Any suggestions?

Thanks,

James.

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

Reply via email to