I'm attempting to compile courier-imap 4.2.1, system config is Mac  
Mini, Core Duo, OS X 10.5, latest xcode installed.

I can build authlib 0.60.2 without problems, but every time I've  
tried to build courier-imap, I get this error during make:

(snip)
Making all in rfc1035
make  all-am
/bin/sh ./libtool --tag=CC   --mode=link gcc  -arch i386 -Wall -I./..  
-I.. -static  -o testlookup testlookup.o librfc1035.a ../soxwrap/ 
libsoxwrap.a ../md5/libmd5.la ../random128/librandom128.la `cat ../ 
soxwrap/soxlibs.dep`
gcc -arch i386 -Wall -I./.. -I.. -o testlookup testlookup.o   
librfc1035.a ../soxwrap/libsoxwrap.a ../md5/.libs/libmd5.a ../ 
random128/.libs/librandom128.a
Undefined symbols:
   "_rfc1035_default_resolver", referenced from:
       _rfc1035_default_resolver$non_lazy_ptr in testlookup.o
       _rfc1035_default_resolver$non_lazy_ptr in librfc1035.a(spf.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [testlookup] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


I came across the tip of doing a RANLIB="ranlib -c", then export  
RANLIB, but this did not change anything.  Originally I was just  
running ./configure without options, later tried the following:

CFLAGS="-arch i386" \
./configure --prefix=/usr/local \
   --with-authpwd=YES \
   --without-authcram \
   COURIERAUTHCONFIG=/usr/local/bin/courierauthconfig

Again, no change.  All my googling indicated that the ranlib  
mentioned above was the key to getting around this, but so far it  
hasn't done anything for me.  Any advice would be appreciated.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to