解決的方式是安裝 dev 版本,分別執行下面的指令:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get libmysqld-dev | |
apt-get libmysqlclient-dev |
這樣就解決了。