[EMAIL PROTECTED] wrote:
Hi,
I am using the OpenSSL 0.9.7g 11 Apr 2005 on solaris machine for one
appliacation.We are porting the same application to the Redhat Linux (Linux
tam1 2.4.21-27.ELsmp #1 SMP ).
We successfully deployed the above openssl version in the linux box.And we
successfully compiled the application. In this application I am using these
OpenSSL functions in one shared library.Checked the shared library using ldd
command whether these functions are correctly linked or not.That time we are
facing undefined symbol errors against the OpenSSL functions.For more calrity
please have a look at the below snapshot.
=======================================================
[EMAIL PROTECTED] libcode]# ldd -r libxauthn.so
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00717000)
libpdxauthnutils.so => /usr/lib/libpdxauthnutils.so (0x006f0000)
libpdauthzn.so => /usr/lib/libpdauthzn.so (0x00da4000)
libc.so.6 => /lib/tls/libc.so.6 (0x0015e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x002c4000)
libdl.so.2 => /lib/libdl.so.2 (0x009d4000)
libpdira.so => /usr/lib/libpdira.so (0x002da000)
libpdutil.so => /usr/lib/libpdutil.so (0x00423000)
libpdauthn.so => /usr/lib/libpdauthn.so (0x00b4f000)
undefined symbol: d2i_X509 (./libxauthn.so)
undefined symbol: ERR_get_error (./libxauthn.so)
undefined symbol: X509_get_issuer_name (./libxauthn.so)
undefined symbol: X509_NAME_get_entry (./libxauthn.so)
undefined symbol: ASN1_STRING_data (./libxauthn.so)
undefined symbol: OBJ_sn2nid (./libxauthn.so)
undefined symbol: X509_get_ext_d2i (./libxauthn.so)
undefined symbol: sk_num (./libxauthn.so)
undefined symbol: sk_value (./libxauthn.so)
undefined symbol: ASN1_STRING_length (./libxauthn.so)
undefined symbol: regcmp (./libxauthn.so)
undefined symbol: regex (./libxauthn.so)
undefined symbol: __loc1 (./libxauthn.so)
undefined symbol: X509_get_subject_name (./libxauthn.so)
undefined symbol: X509_NAME_oneline (./libxauthn.so)
undefined symbol: BIO_new_fp (./libxauthn.so)
undefined symbol: ERR_print_errors_fp (./libxauthn.so)
undefined symbol: X509_signature_print (./libxauthn.so)
========================================================
May I know why I am getting there errors
And onemore thing is whether the openSSL executable will be different from Unix
to Linux operating system.?
Please help me out from this situation.
So did you link with libssl and libcrypto while building the shared
library (libxauthn.so)?
Regards
Sunil.
-jb
--
Real computer scientists don't comment their code. The identifiers are
so long they can't afford the disk space.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]