make [sapi/cli/php] Error 1

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



Searched the lists for this but could not find anything that seem to help.

I'm hoping someone here can point me in the right direction..

CentOS 4.7
Apache 2.0.59
PHP 5.2.8

Configure line used:

./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/apache/php --enable-force-cgi-redirect --disable-cgi --with-zlib --with-gettext --with-gdbm

During the Configure output I see:

checking for CLI build... yes

..don't see any other references to sapi or cli in configure output..


make returns error

In function `zm_startup_mysql':
/usr/local/src/php-5.2.8/ext/mysql/php_mysql.c:405: undefined reference to `mysql_server_init'
ext/mysql/.libs/php_mysql.o(.text+0x323): In function `zm_shutdown_mysql':
/usr/local/src/php-5.2.8/ext/mysql/php_mysql.c:426: undefined reference to `mysql_server_end' ext/mysql/.libs/php_mysql.o(.text+0x172a): In function `zif_mysql_set_charset': /usr/local/src/php-5.2.8/ext/mysql/php_mysql.c:1120: undefined reference to `mysql_set_character_set'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

(I also completely deleted the ../src/php-5.2.8 and started from scratch twice to make sure I did not farkle something in my earlier attempts..)

Hopefully I have included enough information...

any pointers would be appreciated...

John..

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