Kaushalye Kapuruge wrote: > 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).
Are you sure you have statically linked in the Openssl libraries? If it was, then I don't think you'd get link errors for these symbols. I also believe all versions of 0.9.x to be binary compatible for the same 'x'. > 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 > -jb -- No snowflake in an avalanche ever feels responsible. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]