I trying to compile the Postfix (version 2.9.6) source code on a Debian "stable" (weezy) system. I have all the pieces like gcc, perl, and the other dependencies that are necessary. But I'm stuck with (at least) one dependency that I am missing.

After completing the 'make tidy', I can do a 'make' which runs for some time but then it stops with a error that says -

"cannot find -lprce"

Here's some of the last lines that are displayed. I hape this will give someone the compete picture.

gcc -Wmissing-prototypes -Wformat  -fPIC -g -O -I. -DLINUX3 -c dict_pcre.c
gcc -shared -Wl,-soname,dict_pcre.so -o dict_pcre.so dict_pcre.o -lpcre -L. -lutil
/usr/bin/ld: cannot find -lpcre
collect2: error: ld returned 1 exit status
make: *** [dict_pcre.so] Error 1

I've done some research and have found the there is a Debian "postfix-dev" and a "libghc-regex-pcre-dev". But these libraries have not solved my error.

Can anyone shed some light on the subject.

Keith

Reply via email to