Re: Error compiling PHP with OpenSSL
| From: | jim | Date: | Fri, 02 Aug 2002 15:16:31 +0000 |
| Subject: | Re: Error compiling PHP with OpenSSL | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7985@lists.php.net to get a copy of this message | ||
Further searching seems to indicate this is a problem with OpenSSL not PHP
and will be fixed in later versions of OpenSSL . What puzzles me is that I
have compiled this before with PHP4.2.1 and openssl 0.9.6 - both earlier
than I'm trying with now.
If there is any light anyone can shed on this it'd be good.
"Jim" <jmozley@centrictelecom.com> wrote in message
news:20020731170248.89026.qmail@pb1.pair.com...
> I'm trying to compile PHP on Solaris using:
>
> ./configure \
>
> --with-apxs=/usr/local/apache/bin/apxs \
>
> --with-mysql \
>
> --with-sybase=/usr/local/freetds \
>
> --with-gd \
>
> --enable-gd-native-ttf \
>
> --with-curl \
>
> --enable-ftp \
>
> --with-mcrypt \
>
> --with-snmp \
>
> --with-ucd-snmp-hack \
>
> --with-openssl=/usr/local/ssl
>
>
>
> I have done this before with earlier versions of OpenSSL successfully, but
> having upgraded OpenSSL I cannot get PHP to compile. I get the error:
>
>
>
> /usr/local/sparc-sun-solaris2.8/bin/ld: .libs/libphp4.so: undefined
> versioned symbol name des_encrypt1@@SUNWprivate_1.1
>
> /usr/local/sparc-sun-solaris2.8/bin/ld: failed to set dynamic section
sizes:
> Bad value
>
> collect2: ld returned 1 exit status
>
> make[1]: *** [libphp4.la] Error 1
>
> make[1]: Leaving directory `/opt/php-4.2.2'
>
> make: *** [all-recursive] Error 1
>
>
>
> Versions of software:
>
> openssl: 0.9.6.d
>
> Solaris: 8
>
> PHP: 4.2.2
>
>
>
> Googling shows some possible issues I've tried to work around but I still
> get same error.
>
> Any suggestions?
>
>
>