Re: make error

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

 



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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux