this is what ./config looks like seems ok to me?
 
 
ARFLAGS       =
PERL          =/usr/bin/perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined
Makefile => Makefile.ssl
e_os2.h => include/openssl/e_os2.h [File exists]
making links in crypto...
make[1]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto'
Makefile => Makefile.ssl
crypto.h => ../include/openssl/crypto.h [File exists]
tmdiff.h => ../include/openssl/tmdiff.h [File exists]
opensslv.h => ../include/openssl/opensslv.h [File exists]
opensslconf.h => ../include/openssl/opensslconf.h [File exists]
ebcdic.h => ../include/openssl/ebcdic.h [File exists]
symhacks.h => ../include/openssl/symhacks.h [File exists]
ossl_typ.h => ../include/openssl/ossl_typ.h [File exists]
Makefile => Makefile.ssl
making links in crypto/md2...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/md2'
Makefile => Makefile.ssl
md2.h => ../../include/openssl/md2.h [File exists]
md2test.c => ../../test/md2test.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/md2'
making links in crypto/md4...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/md4'
Makefile => Makefile.ssl
md4.h => ../../include/openssl/md4.h [File exists]
md4test.c => ../../test/md4test.c [File exists]
md4.c => ../../apps/md4.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/md4'
making links in crypto/md5...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/md5'
Makefile => Makefile.ssl
md5.h => ../../include/openssl/md5.h [File exists]
md5test.c => ../../test/md5test.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/md5'
making links in crypto/sha...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/sha'
Makefile => Makefile.ssl
sha.h => ../../include/openssl/sha.h [File exists]
shatest.c => ../../test/shatest.c [File exists]
sha1test.c => ../../test/sha1test.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/sha'
making links in crypto/mdc2...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/mdc2'
Makefile => Makefile.ssl
mdc2.h => ../../include/openssl/mdc2.h [File exists]
mdc2test.c => ../../test/mdc2test.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/mdc2'
making links in crypto/hmac...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/hmac'
Makefile => Makefile.ssl
hmac.h => ../../include/openssl/hmac.h [File exists]
hmactest.c => ../../test/hmactest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/hmac'
making links in crypto/ripemd...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/ripemd'
Makefile => Makefile.ssl
ripemd.h => ../../include/openssl/ripemd.h [File exists]
rmdtest.c => ../../test/rmdtest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/ripemd'
making links in crypto/des...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/des'
Makefile => Makefile.ssl
des.h => ../../include/openssl/des.h [File exists]
des_old.h => ../../include/openssl/des_old.h [File exists]
destest.c => ../../test/destest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/des'
making links in crypto/rc2...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/rc2'
Makefile => Makefile.ssl
rc2.h => ../../include/openssl/rc2.h [File exists]
rc2test.c => ../../test/rc2test.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/rc2'
making links in crypto/rc4...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/rc4'
Makefile => Makefile.ssl
rc4.h => ../../include/openssl/rc4.h [File exists]
rc4test.c => ../../test/rc4test.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/rc4'
making links in crypto/rc5...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/rc5'
Makefile => Makefile.ssl
rc5.h => ../../include/openssl/rc5.h [File exists]
rc5test.c => ../../test/rc5test.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/rc5'
making links in crypto/idea...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/idea'
Makefile => Makefile.ssl
idea.h => ../../include/openssl/idea.h [File exists]
ideatest.c => ../../test/ideatest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/idea'
making links in crypto/bf...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/bf'
Makefile => Makefile.ssl
blowfish.h => ../../include/openssl/blowfish.h [File exists]
bftest.c => ../../test/bftest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/bf'
making links in crypto/cast...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/cast'
Makefile => Makefile.ssl
cast.h => ../../include/openssl/cast.h [File exists]
casttest.c => ../../test/casttest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/cast'
making links in crypto/bn...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/bn'
Makefile => Makefile.ssl
bn.h => ../../include/openssl/bn.h [File exists]
bntest.c => ../../test/bntest.c [File exists]
exptest.c => ../../test/exptest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/bn'
making links in crypto/ec...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/ec'
Makefile => Makefile.ssl
ec.h => ../../include/openssl/ec.h [File exists]
ectest.c => ../../test/ectest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/ec'
making links in crypto/rsa...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/rsa'
Makefile => Makefile.ssl
rsa.h => ../../include/openssl/rsa.h [File exists]
rsa_test.c => ../../test/rsa_test.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/rsa'
making links in crypto/dsa...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/dsa'
Makefile => Makefile.ssl
dsa.h => ../../include/openssl/dsa.h [File exists]
dsatest.c => ../../test/dsatest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/dsa'
making links in crypto/dh...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/dh'
Makefile => Makefile.ssl
dh.h => ../../include/openssl/dh.h [File exists]
dhtest.c => ../../test/dhtest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/dh'
making links in crypto/dso...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/dso'
Makefile => Makefile.ssl
dso.h => ../../include/openssl/dso.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/dso'
making links in crypto/engine...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/engine'
Makefile => Makefile.ssl
engine.h => ../../include/openssl/engine.h [File exists]
enginetest.c => ../../test/enginetest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/engine'
making links in crypto/aes...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/aes'
Makefile => Makefile.ssl
aes.h => ../../include/openssl/aes.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/aes'
making links in crypto/buffer...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/buffer'
Makefile => Makefile.ssl
buffer.h => ../../include/openssl/buffer.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/buffer'
making links in crypto/bio...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/bio'
Makefile => Makefile.ssl
bio.h => ../../include/openssl/bio.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/bio'
making links in crypto/stack...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/stack'
Makefile => Makefile.ssl
stack.h => ../../include/openssl/stack.h [File exists]
safestack.h => ../../include/openssl/safestack.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/stack'
making links in crypto/lhash...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/lhash'
Makefile => Makefile.ssl
lhash.h => ../../include/openssl/lhash.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/lhash'
making links in crypto/rand...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/rand'
Makefile => Makefile.ssl
rand.h => ../../include/openssl/rand.h [File exists]
randtest.c => ../../test/randtest.c [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/rand'
making links in crypto/err...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/err'
Makefile => Makefile.ssl
err.h => ../../include/openssl/err.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/err'
making links in crypto/objects...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/objects'
Makefile => Makefile.ssl
objects.h => ../../include/openssl/objects.h [File exists]
obj_mac.h => ../../include/openssl/obj_mac.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/objects'
making links in crypto/evp...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/evp'
Makefile => Makefile.ssl
evp.h => ../../include/openssl/evp.h [File exists]
evp_test.c => ../../test/evp_test.c [File exists]
cp evptests.txt ../../test
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/evp'
making links in crypto/asn1...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/asn1'
Makefile => Makefile.ssl
asn1.h => ../../include/openssl/asn1.h [File exists]
asn1_mac.h => ../../include/openssl/asn1_mac.h [File exists]
asn1t.h => ../../include/openssl/asn1t.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/asn1'
making links in crypto/pem...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/pem'
Makefile => Makefile.ssl
pem.h => ../../include/openssl/pem.h [File exists]
pem2.h => ../../include/openssl/pem2.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/pem'
making links in crypto/x509...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/x509'
Makefile => Makefile.ssl
x509.h => ../../include/openssl/x509.h [File exists]
x509_vfy.h => ../../include/openssl/x509_vfy.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/x509'
making links in crypto/x509v3...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/x509v3'
Makefile => Makefile.ssl
x509v3.h => ../../include/openssl/x509v3.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/x509v3'
making links in crypto/conf...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/conf'
Makefile => Makefile.ssl
conf.h => ../../include/openssl/conf.h [File exists]
conf_api.h => ../../include/openssl/conf_api.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/conf'
making links in crypto/txt_db...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/txt_db'
Makefile => Makefile.ssl
txt_db.h => ../../include/openssl/txt_db.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/txt_db'
making links in crypto/pkcs7...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/pkcs7'
Makefile => Makefile.ssl
pkcs7.h => ../../include/openssl/pkcs7.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/pkcs7'
making links in crypto/pkcs12...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/pkcs12'
Makefile => Makefile.ssl
pkcs12.h => ../../include/openssl/pkcs12.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/pkcs12'
making links in crypto/comp...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/comp'
Makefile => Makefile.ssl
comp.h => ../../include/openssl/comp.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/comp'
making links in crypto/ocsp...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/ocsp'
Makefile => Makefile.ssl
ocsp.h => ../../include/openssl/ocsp.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/ocsp'
making links in crypto/ui...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/ui'
Makefile => Makefile.ssl
ui.h => ../../include/openssl/ui.h [File exists]
ui_compat.h => ../../include/openssl/ui_compat.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/ui'
making links in crypto/krb5...
make[2]: Entering directory `/home/Administrator/openssl-0.9.7b/crypto/krb5'
Makefile => Makefile.ssl
krb5_asn.h => ../../include/openssl/krb5_asn.h [File exists]
make[2]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto/krb5'
make[1]: Leaving directory `/home/Administrator/openssl-0.9.7b/crypto'
making links in ssl...
make[1]: Entering directory `/home/Administrator/openssl-0.9.7b/ssl'
Makefile => Makefile.ssl
ssl.h => ../include/openssl/ssl.h [File exists]
ssl2.h => ../include/openssl/ssl2.h [File exists]
ssl3.h => ../include/openssl/ssl3.h [File exists]
ssl23.h => ../include/openssl/ssl23.h [File exists]
tls1.h => ../include/openssl/tls1.h [File exists]
kssl.h => ../include/openssl/kssl.h [File exists]
ssltest.c => ../test/ssltest.c [File exists]
make[1]: Leaving directory `/home/Administrator/openssl-0.9.7b/ssl'
making links in apps...
make[1]: Entering directory `/home/Administrator/openssl-0.9.7b/apps'
Makefile => Makefile.ssl
make[1]: Leaving directory `/home/Administrator/openssl-0.9.7b/apps'
making links in test...
make[1]: Entering directory `/home/Administrator/openssl-0.9.7b/test'
Makefile => Makefile.ssl
make[1]: Leaving directory `/home/Administrator/openssl-0.9.7b/test'
making links in tools...
make[1]: Entering directory `/home/Administrator/openssl-0.9.7b/tools'
Makefile => Makefile.ssl
make[1]: Leaving directory `/home/Administrator/openssl-0.9.7b/tools'
generating dummy tests (if needed)...
make[1]: Entering directory `/home/Administrator/openssl-0.9.7b/test'
make[1]: Nothing to be done for `generate'.
make[1]: Leaving directory `/home/Administrator/openssl-0.9.7b/test'
 
Configured for Cygwin.
 
[EMAIL PROTECTED] ~/openssl-0.9.7b
$
"Krithiga Thangavelu" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
After you ran ./config, did you check the output of config to ensure everything is ok?. Problems during config, though specified in output are not easily noticeable. You can check that by rerunning ./config.

-Krithiga

james lankton wrote:
But I suppose my problem still remains?

James
"Krithiga Thangavelu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
Hi DS,

Thanks for your input. It helped me to solve the problem. I added the
path to libdl.so to -L option of cc.

Krithiga

David Schwartz wrote:

Hi All,

I get the following error when I compile the sample program in demos/bio

openssl-engine-0.9.6j> cc -I../../include -L../.. sconnect.c
-lssl -lcrypto

../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
dso_dlfcn.o(.text+0x77): undefined reference to `dlopen'
dso_dlfcn.o(.text+0xe3): undefined reference to `dlclose'
../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
dso_dlfcn.o(.text+0x1b6): undefined reference to `dlsym'
../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
dso_dlfcn.o(.text+0x2a6): undefined reference to `dlsym'
../../libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
dso_dlfcn.o(.text+0x3a5): undefined reference to `dlclose'
collect2: ld returned 1 exit status

I didn't encounter any errors while invoking make , make test and make
install. Can somebody throw light on the above error?

The first thing you should do when you get an 'undefined reference'
error
is search your libraries to find out which library that is defined in,
and
then link to that library. Probably you need to add '-ldl'. But since you
didn't specify your platform, there's really no way we could know. Did
you
try the man pages for 'dlopen', 'dlclose', and 'dlsym'?

DS


______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]


______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]




______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]


Reply via email to