/usr/bin/ld: cannot find -lssl: Error on make

Jason Englander jason at englanders.cc
Thu Jun 2 12:23:55 EDT 2005


On Wed, 1 Jun 2005, Imran Aziz wrote:

> and I get the following error
>
> LD_RUN_PATH="/lib:/usr/local/lib" gcc  -shared -L/usr/local/lib IMAP.o
> -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a
> ../../lib/libcyrus_min.a  -L/usr/local/BerkeleyDB.4.3/lib -ldb-4.1
> -lsasl2 -lssl -lcrypto
> /usr/bin/ld: cannot find -lssl

If your OpenSSL is installed under /usr/local/ssl, try:

make all CFLAGS=-O2 LDFLAGS=-L/usr/local/ssl/lib

   Jason

-- 
Jason Englander <jason at englanders.cc>
394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list