Hello,

I have been trying to get the Apache XML Security (Xsec) library test program working. It relies on the Openssl libcrypto library for the encryption capabilities. The company that I work for already has the openssl 0.9.7d distribution, and uses it to build and use a static library for libcrypto.

I got the XML code distributions and built static libraries from them. Everything looked good. After I had all of the static libraries (Xsec, Xerces, and libcrypto) I tried to build the Xsec test program. When I originally linked it, I had a large list of undefined symbols. It turned out that the libcrypto we built didn't include a couple of the encryption types. I modified the config header file, and added the proper files to the project so that all of those slowly disappeared.

Eventually, I was left with a list of undefined symbols that I find rather puzzling. Each of them is the name of a function. I find function declarations for them and I find references to them, but I do not find definitions anywhere in the source code distribution. They are all defined as "function returning pointer to const EVP_CIPHER". The complete list is as follows:
_EVP_bf_cbc
_EVP_bf_cfb
_EVP_bf_ecb
_EVP_bf_ofb
_EVP_cast5_cbc
_EVP_cast5_cfb
_EVP_cast5_ecb
_EVP_cast5_ofb
_EVP_des_cbc
_EVP_des_cfb
_EVP_des_ecb
_EVP_des_ofb
_EVP_idea_cbc
_EVP_idea_cfb
_EVP_idea_ecb
_EVP_idea_ofb
_EVP_rc5_32_12_16_cbc
_EVP_rc5_32_12_16_cfb
_EVP_rc5_32_12_16_ecb
_EVP_rc5_32_12_16_ofb


I have found all of the places where the *_cfb names get defined as the *_cfb64 names, and I don't find definitions for the *_cfb64 functions either. (In order to be confident with my searches through the distribution, I got the 0.9.7d tarball and created the openssl-0.9.7d directory tree from scratch. All of my searches have been done in that tree.)

Am I missing something here? Where should these functions be defined? Is there some configuration step required?

I am doing this on MacOS X using Xcode. (I saved that for last so you'd read the entire email. :-) I do not believe this is the "Mac problem" as described in the PROBLEMS file. It appears to be completely explained by references to nonexistent functions within my static libcrypto.

Any help or suggestions would be greatly appreciated.

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

Reply via email to