关于树莓派安装不了libmysqlclient-dev的解决办法

买了新的树莓派,想直接在派上写程序,安装了mysql之后 apt-get install libmysqlclient-dev一直安装不上去,

最后试了下 apt-cache search libmysql 解析出很多包

然后apt-get install libmysql++-dev

Y以后在whereis mysql.h 在include下有了



# apt-cache search libmysql

libmysql++-dev - mysql C++ library bindings (development)
libmysql++2c2a - mysql C++ library bindings (runtime)
libmysql-java - Java database (JDBC) driver for MySQL
libmysql-ocaml - OCaml bindings for MySql
libmysql-ocaml-dev - OCaml bindings for MySql
libmysql-ruby - MySQL module for Ruby
libmysql-ruby1.8 - MySQL module for Ruby 1.8
libmysqlclient15-dev - mysql database development files
libmysqlclient15off - mysql database client library
openoffice.org-base - OpenOffice.org office suite - database
# apt-get install 
libmysql++-dev

你可能感兴趣的:(mysql)