Has anyone managed to get OpenSSL to compile on Mac OS X (the recent
release, not the public beta)?

Passing 'gcc' to Configure appears to compile everything but won't link
at the
end.  I get the following error message:

> cc -o openssl -DMONOLITH -I../include -O openssl.o verify.o asn1pars.o

> req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o
> pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o

> gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o
> s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o
> pkcs8.o spkac.o smime.o rand.o -L. -L.. -L../.. -L../../.. -L.. -lssl
> -L.. -lcrypto
> /usr/bin/ld: Undefined symbols:
> _X509_STORE_CTX_set_flags
> _X509_STORE_CTX_trusted_stack
> _sk_new_null
> _ASN1_parse_dump
> _ERR_error_string_n
> _X509_CRL_digest
> _d2i_RSA_NET
> _i2d_RSA_NET
> _ASN1_UTCTIME_cmp_time_t
> _X509_email_free
> _X509_get1_email
> _MD4
> _ftime
> _X509_NAME_print_ex
> _d2i_PUBKEY_bio
> make[1]: *** [openssl] Error 1
> make: *** [sub_all] Error 1

You'll notice that the libraries are found but the symbols aren't.  It
turns out that the symbols _are_ in the libraries though.  I only spot
checked a few, but here's the nm output from the first:

> [fool:~/work/openssl-0.9.6a-beta2] oberon% nm -o *.a |grep
_X509_STORE_CTX_set_flags
> nm: no name list
> libcrypto.a:x509_vfy.o:000014d4 T _X509_STORE_CTX_set_flags

Any help you can give me is appreciated.

Derek

--
                *8^)

Email: [EMAIL PROTECTED]
Public key available from www.pgp.net - Key ID F660EEB0
Fingerprint 720C C063 3A8F 44D3 684E  D7D4 D788 4BD9 F660 EEB0

--
It is as useless to argue with those who have renounced the use and authority
of reason as to administer medication to the dead.

                        - Thomas Jefferson



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

Reply via email to