#37322 [NEW]: unable to link php to already installed mysql
| From: | raosid at rediffmail dot com | Date: | Fri, 05 May 2006 05:04:13 +0000 |
| Subject: | #37322 [NEW]: unable to link php to already installed mysql | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-96632@lists.php.net to get a copy of this message | ||
From: raosid at rediffmail dot com
Operating system: fedora core 4
PHP version: 4.4.2
PHP Bug Type: *Configuration Issues
Bug description: unable to link php to already installed mysql
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 bug report at http://bugs.php.net/?id=37322&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37322&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37322&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37322&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37322&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37322&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37322&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37322&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37322&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37322&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37322&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37322&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37322&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37322&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37322&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37322&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37322&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37322&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37322&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37322&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37322&r=mysqlcfg