3 messages in net.sourceforge.lists.courier-maildrop[maildropl] pcre Linking Error . . .
FromSent OnAttachments
Jason FlattSep 22, 2005 7:44 pm 
Andreas WinkelmannSep 22, 2005 11:17 pm 
Jason FlattSep 28, 2005 10:55 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] pcre Linking Error . . .Actions...
From:Jason Flatt (jas@flattfamily.com)
Date:Sep 22, 2005 7:44:13 pm
List:net.sourceforge.lists.courier-maildrop

I am attempting to compile the 2.0.0 version of maildrop and I keep getting the following errors:

Compiling testmaildirfilter.c Linking testmaildirfilter make[2]: Leaving directory `/usr/src/maildrop-2.0.0/maildir' ./.libs/libmaildir.a(maildirfilter.o): In function `maildir_filter_ruleupdate': maildirfilter.c:(.text+0x167f): undefined reference to `pcre_compile' maildirfilter.c:(.text+0x1698): undefined reference to `pcre_free' collect2: ld returned 1 exit status make[2]: *** [testmaildirfilter] Error 1

I have tried it with both the 6.3 and the 6.4 versions of PCRE, but I get the same results. Also, courier and courier-imap compile and install without those errors (if that matters at all).

Here are the includes and libs I have installed:

$ ls -l /usr/include/pcre* -rw-r--r-- 1 root root 28950 2005-09-18 18:01 /usr/include/pcrecpp.h -rw-r--r-- 1 root root 10586 2005-09-18 18:01 /usr/include/pcre.h -rw-r--r-- 1 root root 4086 2005-09-18 18:01 /usr/include/pcreposix.h -rw-r--r-- 1 root root 6042 2005-09-18 18:01 /usr/include/pcre_scanner.h -rw-r--r-- 1 root root 6041 2005-09-18 18:01 /usr/include/pcre_stringpiece.h

$ ls -l /usr/lib/libpcre* -rw-r--r-- 1 root root 205884 2005-09-18 18:01 /usr/lib/libpcre.a -rw-r--r-- 1 root root 34848 2005-09-18 18:01 /usr/lib/libpcrecpp.a -rwxr-xr-x 1 root root 1062 2005-09-18 18:01 /usr/lib/libpcrecpp.la lrwxrwxrwx 1 root root 19 2005-09-18 18:01 /usr/lib/libpcrecpp.so -> libpcrecpp.so.0.0.0 lrwxrwxrwx 1 root root 19 2005-09-18 18:01 /usr/lib/libpcrecpp.so.0 -> libpcrecpp.so.0.0.0 -rwxr-xr-x 1 root root 39090 2005-09-18 18:01 /usr/lib/libpcrecpp.so.0.0.0 -rwxr-xr-x 1 root root 786 2005-09-18 18:01 /usr/lib/libpcre.la -rw-r--r-- 1 root root 3230 2005-09-18 18:01 /usr/lib/libpcreposix.a -rwxr-xr-x 1 root root 841 2005-09-18 18:01 /usr/lib/libpcreposix.la lrwxrwxrwx 1 root root 21 2005-09-18 18:01 /usr/lib/libpcreposix.so -> libpcreposix.so.0.0.0 lrwxrwxrwx 1 root root 21 2005-09-18 18:01 /usr/lib/libpcreposix.so.0 -> libpcreposix.so.0.0.0 -rwxr-xr-x 1 root root 7840 2005-09-18 18:01 /usr/lib/libpcreposix.so.0.0.0 lrwxrwxrwx 1 root root 16 2005-09-18 18:01 /usr/lib/libpcre.so -> libpcre.so.0.0.1 lrwxrwxrwx 1 root root 16 2005-09-18 18:01 /usr/lib/libpcre.so.0 -> libpcre.so.0.0.1 -rwxr-xr-x 1 root root 191772 2005-09-18 18:01 /usr/lib/libpcre.so.0.0.1

Does anyone have any suggestions on what I can check, change or do to get this working? I have been trying every suggestion I have found, no matter how unlikely they are to fix the problem. Thank you.