#37322 [Opn->Fbk]: unable to link php to already installed mysql

From: Date: Sat, 06 May 2006 09:30:41 +0000
Subject: #37322 [Opn->Fbk]: unable to link php to already installed mysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-96720@lists.php.net to get a copy of this message
ID: 37322 Updated by: tony2001@php.net Reported By: raosid at rediffmail dot com -Status: Open +Status: Feedback Bug Type: *Configuration Issues Operating System: fedora core 4 PHP Version: 4.4.2 New Comment: It looks like you have a headers mess in your system. The configure option should be --with-mysql='INSTALL PREFIX of mysql', not SOURCE. Please try using the right option and post the results here. Previous Comments: ------------------------------------------------------------------------ [2006-05-05 05:04:13] raosid at rediffmail dot com Description: ------------ hi , i am having a problem in configuring php4.4.2 with already installed mysql. when i say --with-mysql=/'source of mysql'. it says... lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o sapi/cgi/php ext/mysql/php_mysql.o(.text+0x2095): In function `zif_mysql_create_db': /home/siddharth/Desktop/php-4.4.2/ext/mysql/php_mysql.c:1163: undefined reference to `mysql_create_db' ext/mysql/php_mysql.o(.text+0x22cb): In function `zif_mysql_drop_db': /home/siddharth/Desktop/php-4.4.2/ext/mysql/php_mysql.c:1205: undefined reference to `mysql_drop_db' collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 any suggestions???? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37322&edit=1

« previous php.bugs (#96720) next »