Just Notice when do ld -lpcre --verbose
i receive error ld: warning: cannot find entry symbol _start; not setting start address but library is found in /usr/lib/libpcre.so attempt to open /usr/i386-redhat-linux/lib/libpcre.so failed attempt to open /usr/i386-redhat-linux/lib/libpcre.a failed attempt to open /usr/local/lib/libpcre.so failed attempt to open /usr/local/lib/libpcre.a failed attempt to open /lib/libpcre.so failed attempt to open /lib/libpcre.a failed attempt to open /usr/lib/libpcre.so succeeded -lpcre (/usr/lib/libpcre.so) libc.so.6 needed by /usr/lib/libpcre.so found libc.so.6 at /lib/libc.so.6 ld-linux.so.2 needed by /lib/libc.so.6 found ld-linux.so.2 at /lib/ld-linux.so.2 ld: warning: cannot find entry symbol _start; not setting start address -------- Message initial -------- De: Wietse Venema <wie...@porcupine.org> À: da...@touzeau.eu Cc: postfix-users@postfix.org Sujet: Re: Unable to compile Postfix 2.6 on Ubuntu 2.10 or CentOS 5.2 Date: Wed, 13 May 2009 09:46:14 -0400 (EDT) David Touzeau: > > 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" > What is the output from: $ pcre-config --cflags $ pcre-config --libs Per instructions, if you specify -DHAS_PCRE, you must also specify the PCRE library. Wietse