Hi Listers,
I'm having a problem shipping my (xml security)library, which is based on openssl crypto implementation. I have statically linked it with the ssl and crypto libraries (-lssl -lcrypto).
And my openssl version is
OpenSSL 0.9.8c 05 Sep 2006 (Library: OpenSSL 0.9.8e 23 Feb 2007)

When I compile and create binaries in my machine it simply won't work with another machine with the same openssl version 0.9.8.c. But in that machine I don't get the library version as 0.9.8e.
And gives this error

libomopenssl.so.0: symbol EVP_CIPHER_CTX_key_length, version OPENSSL_0.9.8 not defined in file libcrypto.so.0.9.8 with link time reference

When I list symbols in my library as %nm libomopenssl.so | grep EVP_CIPHER_CTX
I get
        U EVP_CIPHER_CTX_block_size@@OPENSSL_0.9.8
        U EVP_CIPHER_CTX_cleanup@@OPENSSL_0.9.8
        U EVP_CIPHER_CTX_init@@OPENSSL_0.9.8
        U EVP_CIPHER_CTX_iv_length@@OPENSSL_0.9.8
        U EVP_CIPHER_CTX_key_length@@OPENSSL_0.9.8
        U EVP_CIPHER_CTX_set_padding@@OPENSSL_0.9.8

But in the other machine I get
        U EVP_CIPHER_CTX_block_size
        U EVP_CIPHER_CTX_cleanup@@OPENSSL_0.9.8
        U EVP_CIPHER_CTX_init@@OPENSSL_0.9.8
        U EVP_CIPHER_CTX_iv_length
        U EVP_CIPHER_CTX_key_length
        U EVP_CIPHER_CTX_set_padding@@OPENSSL_0.9.8

Note that these symbols are different for  EVP_CIPHER_CTX_key_length

So, my question is, How do I make my library work with another machine with the same openssl version? What instructions I have to give? Should I ask them to use 0.9.8e? How's the backward compatibility of openssl?

Cheers,
Kaushalye

--
http://kaushalye.blogspot.com/
http://wso2.org/

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

Reply via email to