I use php-5.4.0.tar.bz2 and MySQL-5.5.21-1.el6.src.rpm in CentOS 6.2. But I can find the MySQL headers in the MySQL source I used. Is there anything wrong with my installing MySQL? > 2012/3/23 Daniel Brown <danbrown@xxxxxxx> > >> 2012/3/23 黄昭源 <wongzhaoyuan@xxxxxxxxx>: >> > Hello, I have a problem. >> > When I configure php with the parameter --with-mysql=/usr/local/mysql >> and >> > make, some errors happen. Below is the errors: >> > 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' >> > ... >> > and so on. >> > Is there someone also come across this? Can anyone help me? Thanks! >> >> Sounds like you're missing the MySQL headers from the source >> library. You can either download the full source or install just the >> headers via your system's package manager. If you need more help, let >> us know what distribution you're using. >> >> -- >> </Daniel P. Brown> >> Network Infrastructure Manager >> http://www.php.net/ >> > > > > -- > 黄昭源(Asher Wong) > *Best Wishes To You!* > > -- 黄昭源(Asher Wong) *Best Wishes To You!*