Click to See Complete Forum and Search --> : Problem Installing PHP 5.2.5 on Solaris 10


jeremyp
04-21-2008, 07:42 PM
I'm getting the following error when I run make:

Undefined first referenced
symbol in file
EVP_CIPHER_CTX_block_size ext/openssl/.libs/openssl.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

The configure options I used are:

./configure --with-openssl=/usr/local/ssl --with-apxs2=/usr/apache2/bin/apxs --enable-dbase \
--with-libxml-dir=/usr/local --with-config-file-path=/etc/apache2 \
--with-mysql=shared,/usr/local/mysql \
--with-mysqli=shared,/usr/local/mysql/bin/mysql_config \
--with-xpm-dir=/usr --with-gd --with-bz2=/usr/lib \
--with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib --enable-mbstring \
--enable-calendar --enable-bcmath --enable-ftp --enable-exif --with-mcrypt=/usr/local/lib --with-gettext \
--enable-libgcc --with-libxml-dir=/usr/local

I'm using Openssl version 0.9.8g

Thanks for any help or thoughts!
Jeremy

NogDog
04-22-2008, 01:31 AM
From some things I've seen on the web from time to time, it seems Solaris has some compatibility problems when you use its native C compiler. You may want to try using the GNU gcc compiler if it's available (or you can install it). See also: http://us.php.net/manual/en/faq.build.php#faq.installation.needgnu