Dear I'm trying to compile Postfix 2.6 on Ubuntu 2.10 or CentOS 5.2 with the following arguments:
make tidy /usr/bin/make makefiles CCARGS=" -DMAX_DYNAMIC_MAPS -DHAS_PCRE -DMYORIGIN_FROM_FILE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_LDAP -DHAS_SSL -I/usr/include/openssl -DUSE_SASL_AUTH -I/usr/include/sasl -DUSE_CYRUS_SASL -DUSE_TLS" DEBUG= AUXLIBS="-lssl -lcrypto -lsasl2" OPT="-O2" On the 2 systems i receive this error: gcc -Wmissing-prototypes -Wformat -DMAX_DYNAMIC_MAPS -DHAS_PCRE -DMYORIGIN_FROM_FILE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_LDAP -DHAS_SSL -I/usr/include/openssl -DUSE_SASL_AUTH -I/usr/include/sasl -DUSE_CYRUS_SASL -DUSE_TLS -O2 -I. -I../../include -DLINUX2 -o sendmail sendmail.o ../../lib/libglobal.a ../../lib/libutil.a -lssl -lcrypto -lsasl2 -ldb -lnsl -lresolv ../../lib/libutil.a(dict_pcre.o): In function `dict_pcre_compile': dict_pcre.c:(.text+0x30a): undefined reference to `pcre_compile' dict_pcre.c:(.text+0x324): undefined reference to `pcre_study' ../../lib/libutil.a(dict_pcre.o): In function `dict_pcre_open': dict_pcre.c:(.text+0x41e): undefined reference to `pcre_malloc' dict_pcre.c:(.text+0x428): undefined reference to `pcre_free' dict_pcre.c:(.text+0x8a7): undefined reference to `pcre_fullinfo' ../../lib/libutil.a(dict_pcre.o): In function `dict_pcre_lookup': dict_pcre.c:(.text+0xd90): undefined reference to `pcre_exec' dict_pcre.c:(.text+0xe16): undefined reference to `pcre_exec' ../../lib/libutil.a(dict_pcre.o): In function `dict_pcre_expand': dict_pcre.c:(.text+0x1019): undefined reference to `pcre_get_substring' collect2: ld returned 1 exit status make: *** [sendmail] Error 1 make: *** [update] Error 1 How can I fix it ? Best regards