Chun Liu wrote:
>
> Hi,
Hi,
> we tried to get the open-ca running, but we couldn't get files in
> $OPEN_CA/verify/ compiled, actually 'sign' and 'verify', the error code
> gcc reporting is:
>
> gcc -I /usr/share/ssl/include -o verify verify.o example.o
> /usr/lib/libcrypto.a
> verify.o: In function `main':
> verify.o(.text+0xc8): undefined reference to `EVP_mdc2'
> collect2: ld returned 1 exit status
>
> Our environment:
> RH7.0 w openssl-0.9.6-3
>
> Do you have any idea where the reference is defined?
Well, actually I am not sure this is openca-sv related. Check the OpenSSL
files as it seems it is searching for an EVP_mdc2 function in the libcrypto
library, but the verify/sign tool does not use it - it uses the EVP_md5().
If you are using the rpm version of the openssl tool, please check for the
presence of the libcrypto.a file - you might have to install it from the
.tar.gz archive.
--
C'you,
Massimiliano Pala
--o-------------------------------------------------------------------------
Massimiliano Pala [OpenCA Project Manager] [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.openca.org Tel.: +39 (0)59 270 094
http://openca.sourceforge.net Mobile: +39 (0)347 7222 365
S/MIME Cryptographic Signature