cannot open -lcrypto: No such file or directory

hello! I had installed openssl-0.9.6 and freeswan-1.5 . The Makefile of pluto like this:
OPENSSLROOT=/usr/lib OPENSSLINCLS= OPENSSLLIBS= -lcrypto OPENSSLDEFS=-DOPENSSL
When I am compiling the freeswan-1.5 the error like this:
gcc -o pluto connections.o constants.o cookie.o crypto.o defs.o log.o state.o main.o server.o timer.o id.o ipsec_doi.o kernel.o kernel_comm.o demux.o packet.o preshared.o dnskey.o rnd.o spdb.o sha1.o md5.o gcryptfix.o g10_dsa.o elgamal.o primegen.o smallprime.o ../lib/libdes.a ../lib/libgmp.a ../lib/libfreeswan.a openssl.o xmap.o xmap_file.o xmap_dir.o xmap_db.o xmap_ldap.o x_sobj.o -lresolv -lcrypto -L/usr/local/lib -lldap -llber -Wl,-rpath /usr/local/lib -L/usr/lib -ldb /usr/bin/ld: cannot open -lcrypto: No such file or directory collect2: ld returned 1 exit status make[1]: *** [pluto] Error 1
can help me to solve this question?
Thanks
Guoxing
participants (1)
-
sun