PHP v5.2.5 installation

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




I am running a Solaris 10 (SPARC) system that has Apache 2.2.6 and PHP v5.2.2 installed.  PHP is running as a CLI and not as an Apache module.  The system works fine.  I am now in the process of upgrading PHP to version 5.2.5 using the following configuration parameters:

./configure --prefix=/usr/local/php5 --with-openssl \
--with-oci8=instantclient,/usr/local/oracle/instantclient_10_2 \
--with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock \
--with-zlib-dir=/usr/local/lib \
--enable-fastcgi --with-xsl \
--with-mcrypt=/usr/local/libmcrypt --enable-mbstring \
--with-ldap

The configure finishes fine but when I run make I get the following error:

Undefined                       first referenced
 symbol                             in file
mysql_set_character_set             ext/mysql/php_mysql.o
ld: fatal: Symbol referencing errors. No output written to sapi/cgi/php-cgi
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cgi/php-cgi'

I have MySQL version 5.0.37 installed on the system and running and I have both my PATH variables and LD_LIBRARY_PATH pointing to the appropriate MySQL directories.

Can someone shed some light on what this error is telling me and how I can fix it?

Thanks!

Jesse

Jesse Santana
Project Lead - Enterprise Services Group
Information Technology Services
California State University, Long Beach
1250 Bellflower Blvd.
Long Beach, CA  90840
Office: (562)985-8511
Fax:     (562)985-8855

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux