Re: Re: make error
| From: | Daniel Brown | Date: | Fri, 23 Mar 2012 17:18:22 +0000 |
| Subject: | Re: Re: make error | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-317215@lists.php.net to get a copy of this message | ||
2012/3/23 Asher Wong <wongzhaoyuan@gmail.com>:
> I have installed the MySQL-devel and I can find mysql.h, but I still have
> the error I mentioned above.
> ext/mysql/php_mysql.c:995: undefined reference to `_mysqlnd_init'
> ext/mysql/php_mysql.c:1012: undefined reference to `mysqlnd_connect'
> ext/mysql/php_mysql.c:876: undefined reference to `_mysqlnd_init'
You're using the native driver, so try this instead:
--with-mysql=mysqlnd
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/