On Tue, 7 May 2002, Dor S. wrote: [ you posted this to the sasl list, I'm cc-ing this to the info cyrus list instead. ]
> Hey again, > Now I installed Berkeley DB 3.3.11 and I get a new compiling error: > <snip> > ### Making all in /root/cyrus-imapd-2.0.16/perl/imap > make[2]: Entering directory `/root/cyrus-imapd-2.0.16/perl/imap' > rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so > LD_RUN_PATH="/root/cyrus-imapd-2.0.16/perl/imap/../../lib:/usr/lib" > c -shared IMAP.o -o > ib/arch/auto/Cyrus/IMAP/IMAP.so -L/root/cyrus-imapd-2.0.16/perl/imap/../.. > /lib -lcyrus -lsasl -lssl -lcrypto > /usr/i486-suse-linux/bin/ld: cannot find -lssl > collect2: ld returned 1 exit status > make[2]: *** [blib/arch/auto/Cyrus/IMAP/IMAP.so] Error 1 > make[2]: Leaving directory `/root/cyrus-imapd-2.0.16/perl/imap' > make[1]: *** [all] Error 1 > make[1]: Leaving directory `/root/cyrus-imapd-2.0.16/perl' > make: *** [all] Error 1 > </snip> > > Bleh? > > -Dor S. Go into cyrus-imapd-2.0.16/perl/imap and open up Makefile.PL in a text editor. Change this line: 'LIBS' => ["$SASL_LIB -lssl -lcrypto"], to this: 'LIBS' => ["$SASL_LIB -L/usr/local/ssl/lib -lssl -lcrypto"], and this line: 'INC' => "-I../../lib $SASL_INC", to this: 'INC' => "-I../../lib -I/usr/local/ssl/include/openssl $SASL_INC", Do the same thing to cyrus-imapd-2.0.16/perl/sieve/managesieve/Makefile.PL and then re-run make from the top level directory. I've had to do this with every build up to and including cyrus imap 2.1.4 even though I do pass --with-openssl=/usr/local/ssl to configure Jason -- Jason Englander [EMAIL PROTECTED]