I was just forced to upgrade to OpenSSH 3.7.1p2 for security reasons. This has apparently caused a problem with PHP/libcurl: [...conf.d]$ /etc/init.d/httpd restart Stopping httpd: [FAILED] Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: Cannot load /etc/httpd/modules/libphp4.so into server: /usr/lib/libcurl.so.2: undefined symbol: ENGINE_load_private_key I have searched for a solution to this and come up dry, even on openssh.com. On a local forum it has been suggested that I need a version of libcurl to be compatible with OpenSSH 3.7.1p2. If so, what version would that be? If not, what would you suggest? Otherwise I need to revert to OpenSSH 3.5 Other info: RedHat 9.0 PHP 4.2.2 Thanks, Mike ---------------------------------------------------------------------------------------- This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ----------------------------------------------------------------------------------------
Mike Lambertson wrote:> I was just forced to upgrade to OpenSSH 3.7.1p2 for security reasons. This > has apparently caused a problem with PHP/libcurl: > > [...conf.d]$ /etc/init.d/httpd restart > Stopping httpd: [FAILED] > Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: > Cannot load /etc/httpd/modules/libphp4.so into server: > /usr/lib/libcurl.so.2: undefined symbol: ENGINE_load_private_key > > I have searched for a solution to this and come up dry, even on > openssh.com. > > On a local forum it has been suggested that I need a version of libcurl to > be compatible with OpenSSH 3.7.1p2. If so, what version would that be? If > not, what would you suggest?Neither libcurl nor OpenSSH would care about the other. Your error looks like either libcurl or php is built against a different version of the OpenSSL library to what you have installed. The other possibility is that LD_LIBRARY_PATH has changed or something. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
On Wed, 11 Aug 2004, Mike Lambertson wrote:> I was just forced to upgrade to OpenSSH 3.7.1p2 for security reasons. This > has apparently caused a problem with PHP/libcurl: > > [...conf.d]$ /etc/init.d/httpd restart > Stopping httpd: [FAILED] > Starting httpd: Syntax error on line 6 of /etc/httpd/conf.d/php.conf: > Cannot load /etc/httpd/modules/libphp4.so into server: > /usr/lib/libcurl.so.2: undefined symbol: ENGINE_load_private_key >That's an OpenSSL issue.. not an OpenSSH issue. - Ben
Darren Yep, it was SSL. By reading the history file and "rpm -q openssl", I discovered that the person doing the OpenSSH install also did an install of OpenSSL (required due to dependencies). But the version of OpenSSL was *earlier* that the one already on my system - version 0.9.6-k27 versus 0.9.7a-20.2 . The old version of SSH and SSL were restored and the system is running fine again. Next I have to try the new SSH with my current SSL. Thanks for your help. Mike