Thanks Viktor. > On 16 Jul 2014, at 4:23 pm, Viktor Dukhovni <postfix-us...@dukhovni.org> > wrote: > > On Wed, Jul 16, 2014 at 04:04:27PM +1000, James Brown wrote: > >> 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) > > Your PCRE headers don't match the library, they define > PCRE_STUDY_JIT_COMPILE, which was introduced at the same time as > pcre_free_study(). > >> -DHAS_PCRE -I/usr/local/include \ >> AUXLIBS='-L/usr/lib -llber -lresolv -L/usr/local/lib \ > > In CCARGS /usr/local/include is first. In AUXLIBS /usr/lib is first.
So change to: AUXLIBS=‘-L/usr/local/lib -llber -lresolv -L/usr/lib … ? > > Is there a libpcre in /usr/lib? In /usr/lib there is: -rwxr-xr-x 1 root wheel 390528 3 Jul 2011 libpcre.0.dylib lrwxr-xr-x 1 root wheel 15 3 Jul 2011 libpcre.dylib -> libpcre.0.dylib -rwxr-xr-x 1 root wheel 34672 3 Jul 2011 libpcreposix.0.dylib lrwxr-xr-x 1 root wheel 20 3 Jul 2011 libpcreposix.dylib -> libpcreposix.0.dylib James.
smime.p7s
Description: S/MIME cryptographic signature