[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenSSL



Dear all,

Instead of using RedHat 7.1 openldap rpm, I wanna build the program by
source:

program used:

- openssl-0.9.6a
- openldap-2.0.7


# env CPPFLAGS="-I/usr/local/ssl/include" LIBS="-L/usr/local/ssl/lib" \
./configure --with-tls -with-cyrus-sasl --with-ldbm-api=gdbm \
--enable-shell -enable-wrappers --enable-crypt --enable-cleartext

# make depend
# make  

After the make, it show the following eror:

/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make[2]: *** [libldap.la] Error 1
make[2]: Leaving directory `/usr/src/openldap-2.0.7/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/usr/src/openldap-2.0.7/libraries'
make: *** [all-common] Error 1

How can I fix it?
Many thanks in advance.

---
Regards,
Chris Lee