undefined reference to EVP_CIPHER_CTX_block_size

From: Date: Thu, 06 Dec 2007 18:22:51 +0000
Subject: undefined reference to EVP_CIPHER_CTX_block_size
Groups: php.install 
Request: Send a blank email to php-install+get-18422@lists.php.net to get a copy of this message
I'm having problems building the last two releases of PHP. When running make I get the following error; ext/openssl/.libs/openssl.o(.text+0x670b): In function `zif_openssl_seal': /sw/sources/php-5.2.5/ext/openssl/openssl.c:3631: undefined reference to `EVP_CIPHER_CTX_block_size' collect2: ld returned 1 exit status [linux] nm ext/openssl/.libs/openssl.o | grep EVP_CIPHER_CTX_block_size
        U EVP_CIPHER_CTX_block_size
I have tried a variety of LDFLAGS/LIBPATH/LD_LIBRARY_PATH without success. The symbol is present in my libcrypto.so but undefined in libssl.so. Any suggestions on how to successfully build? Thanks,

« previous php.install (#18422) next »