Bluehost.com Web Hosting $6.95

php 5.2.6 make failure

This is a discussion on php 5.2.6 make failure within the PHP General forums, part of the PHP Programming Forums category; I am having a problem that I cannot seem to get through. Unfortunately, I was given the task of getting ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-07-2008
Steven Perez
 
Posts: n/a
Default php 5.2.6 make failure

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.



Reply With Quote
  #2 (permalink)  
Old 05-14-2008
Per Jessen
 
Posts: n/a
Default Re: [PHP] php 5.2.6 make failure

Steven Perez wrote:

> 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


Does your openssl include files match your openssl library?

> The version of openssl I am using is the following:
>
> # ./openssl version
> OpenSSL 0.9.6l 04 Nov 2003


That's quite old. I would almost certainly update that.


/Per Jessen, Zürich

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0