On Sun, Jun 18, 2006 at 09:54:47PM -0400, Will Buik wrote: > Linking couriertls > ./.libs/libcouriertls.a(libcouriertls.o)(.text+0x48f): In function > `rsa_callback': > /usr/local/src/courier/courier-imap-4.1.1/tcpd/libcouriertls.c:216: > undefined reference to `RSA_generate_key' ... > My invocation of configure was > > COURIERAUTHCONFIG='/usr/local/courier-authlib-0.58/bin/courierauthconfig' > CPPFLAGS='-I/usr/local/openssl-0.9.8b/include > -I/usr/local/courier-authlib-0.58/include' > CFLAGS='-I/usr/local/openssl-0.9.8b/include > -I/usr/local/courier-authlib-0.58/include' > LDFLAGS='-L/usr/local/openssl-0.9.8b/lib > -L/usr/local/courier-authlib-0.58/lib -ldl' ./configure > --prefix=/usr/local/courier-imap-4.1.1
Ugh. Extremely nasty, but you could try adding -lssl -lcrypto to the LDFLAGS (although something is clearly broken, as this should not be necessary; in any case adding -ldl should also not be necessary) It's hard to be know exactly what's wrong without seeing your full configure output from building courier-authlib as well as courier-imap. Also you didn't even bother to mention what type of system you're building on, nor where you got your openssl from. Brian. _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
