php 5.2.6 make failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having a problem that I cannot seem to get through. Unfortunately, I was given the task of getting a working php binary for a modified redhat 7.2 box (I know I know). I got through the configure phase but I cannot seem to complete the make process. The following is what I get as an error:

ext/openssl/openssl.o: In function `zif_openssl_sign':
/home/sperez/php-5.2.6/ext/openssl/openssl.c:3525: undefined reference to `EVP_MD_CTX_cleanup'
ext/openssl/openssl.o: In function `zif_openssl_verify':
/home/sperez/php-5.2.6/ext/openssl/openssl.c:3565: undefined reference to `EVP_MD_CTX_cleanup'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php-cgi] Error 1


The version of openssl I am using is the following:

# ./openssl version
OpenSSL 0.9.6l 04 Nov 2003


My config statement is the following:

../configure --with-mysql=/usr/local/mysql --enable-sysvshm=yes --enable-sysvsem=yes --enable-debug=no --enable-safe-mode=yes --enable-track-vars=yes --enable-force-cgi-redirect=yes --enable-url-fopen-wrapper=yes --with-ttf=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local --with-jpeg-dir=/usr/local --with-mhash=/usr/local --with-mcrypt=/usr/local --with-gdbm=/usr/local --enable-ftp --with-tiff-dir=/usr/local --with-curl=/usr/local --enable-memory-limit --enable-mbstring --with-expat-dir=/usr/local --enable-sockets --enable-wddx --with-mcal=/usr/local/mcal --with-freetype-dir=/usr/local --enable-bcmath --with-xsl=/usr/local --enable-mbstr-enc-trans --enable-mbregex --with-xsl=/usr/local --enable-exif --with-gd2 --enable-gd-native-ttf --enable-gd-imgstrttf --prefix=/usr/local/php5 --with-pear=/usr/local/php5/share/pear --enable-calendar --with-dom=/usr/local --with-openssl=/usr/local/ssl --with-zip=/usr/local --with-pdflib=/usr/local --with-iconv=/usr/local --with-imap=/usr/local/imap-2007a --with-pspell=/usr/local --enable-soap --with-gettext=/usr/local --with-mssql=/usr/local --with-imap-ssl=/usr/local/imap-2007a 2>&1 | tee configure.out


I updated to the latest imap, curl, etc. based on what I have been reading online. I have no idea what to do at this time. I do recall someone mentioning about php not working correctly with a specific openssl version. Can someone point me to the right direction as I am out of ideas.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux