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. Is there a libpcre in /usr/lib? -- Viktor.