Results 1 to 5 of 5
-
02-22-2008, 08:41 AM #1Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 491
upgraded to openssl 0.9.8g but now can't get PHP to build
I might still be a bit too close to the newbie level to be trying this
but I wanted upgrade various components of my cpanel install for security issues.
So I got openssl to update to 0.9.8g and that seemed to be working correctly.
openssl version
OpenSSL 0.9.8g 19 Oct 2007
./configure --with-litespeed --with-config-file-path=../php --with-mysql=/usr --with-zlib --with-zlib-dir=.. --with-gd --with-jpeg-dir=.. --with-png-dir=.. --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --with-openssl
Make
...
In function `zif_openssl_seal':
/php-4.4.8/ext/openssl/openssl.c:2885: undefined reference to `EVP_CIPHER_CTX_block_size'
collect2: ld returned 1 exit status
(I tried --with-openssl=/usr with no change)Last edited by aww; 02-22-2008 at 08:45 AM.
-
02-22-2008, 08:58 AM #2Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 491
Could this be related?
http://lists.mysql.com/internals/31769
Something changed after openssl 0.9.8a?
Mysql on my cpanel is 4.1.22, but who knows if that patch ever made it into production.
I will try rolling back openssl, as much as I'd hate to.
-
02-22-2008, 11:27 AM #3Web Hosting Master
- Join Date
- Dec 2005
- Posts
- 3,110
Any particular reason why you are updating OpenSSL manually? The version numbers on Redhat based Linux e.g. Fedora/CentOS are not updated in the usual fashion of the official releases. Instead they are patched which is why they appear so old.
E.g. you could be running a 2003 version of OpenSSL on CentOS4 but it would still be patched with all numerous bug fixes and such.
You could have left OpenSSL as it was, as long as it's the latest version supplied by yum it really doesn't need to be touched.
-
02-22-2008, 11:31 AM #4Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 491
Ah I didn't know that there were manual patches while leaving the old version number?
Are you saying I just hosed my cpanel's openssl install
Can I use yum to get it back?
-
02-22-2008, 11:47 AM #5Web Hosting Evangelist
- Join Date
- Feb 2004
- Posts
- 491
Update: okee I think I figured it out:
rpm -e --nodeps openssl
yum install openssl
and it leaves me with:
openssl i686 0.9.7a-43.17.el4_6.1 base 1.1
Sure hope that's patched safe!
Sadly it does not fix the error with the PHP 4.4.8 build thoughLast edited by aww; 02-22-2008 at 11:50 AM.