ID:               15780
 Comment by:       kelv at kelv dot net
 Reported By:      corporal_pisang at counter-strike dot com dot my
 Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: Linux
 PHP Version:      4.0CVS-2002-02-28
 New Comment:

The error is not because of PHP. It happens if the old /usr/local/ssl
(assuming default location) was not cleaned out before a newer version
of OpenSSL was installed. I had this exact error compiling PHP
--with-openssl 0.9.7b, previously 0.9.6g. 

Solution - delete the old /usr/local/ssl, go back to your OpenSSL
source and make install again. PHP will then build without a problem.

WARNING - Make sure you telnet in before you delete your old
/usr/local/ssl dir or you will loose connection and have no way in. You
will also need to rebuild OpenSSH afterwards or it will complain about
incorrect .so versions.

Kelv


Previous Comments:
------------------------------------------------------------------------

[2002-04-06 08:09:57] [EMAIL PROTECTED]

You're using development version of openssl. Nothing we can
do about that now.


------------------------------------------------------------------------

[2002-04-06 00:00:05] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2002-03-05 09:39:06]  corporal_pisang at counter-strike dot com dot my

yeap ... my last 4.2.0-dev compile was on february with 
the same ssl headers.

------------------------------------------------------------------------

[2002-03-05 09:06:08] [EMAIL PROTECTED]

Sounds like your header files redefining OPENSSL_add_all_algorithms to
OPENSSL_add_all_algorithms_noconf.

Are you sure that the header files installed match your development
version of openssl??

------------------------------------------------------------------------

[2002-02-28 08:20:24] corporal_pisang at counter-strike dot com dot my

A compile error.
OpenSSL version : OpenSSL 0.9.7-dev 24 Sep 2000

make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/usr/src/php4/regex'
make[1]: Leaving directory `/usr/src/php4/regex'
Making all in sapi/cli
make[1]: Entering directory `/usr/src/php4/sapi/cli'
make[2]: Entering directory `/usr/src/php4/sapi/cli'
/bin/sh /usr/src/php4/libtool --silent --mode=link gcc -I.
-I/usr/src/php4/sapi/cli -I/usr/src/php4/main -I/usr/src/php4
-I/usr/src/apache_1.3.23//src/include
-I/usr/src/apache_1.3.23//src/os/unix -I/usr/src/php4/Zend
-I/usr/src/openssl/include -I/usr/include/libxml2
-I/usr/include/freetype -I/usr/include/mysql -I/data/virtual/include
-I/usr/src/php4/ext/xml/expat  -I/usr/src/php4/TSRM -fPIC -O3 -m486  
-o php -export-dynamic  libphp4cli.la 
./.libs/libphp4cli.a(openssl.o): In function `zm_startup_openssl':
openssl.o(.text+0xa16): undefined reference to
`OPENSSL_add_all_algorithms_noconf'
collect2: ld returned 1 exit status
make[2]: *** [php] Error 1
make[2]: Leaving directory `/usr/src/php4/sapi/cli'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/php4/sapi/cli'
make: *** [all-recursive] Error 1


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15780&edit=1

Reply via email to