Re: can't find mysql.h
David Pando <[email protected]> Sat, 10 Dec 2011 16:03:43 +1300
| Newsgroups | gmane.org.user-groups.linux.new-zealand.general |
|---|---|
| Message-ID | <CAM8PFm6GxJwW=Ry_rS+rgoV=UpEBSq-=snZmjfLbuTK1Kzxb1A@mail.gmail.com> |
On Sat, Dec 10, 2011 at 3:45 PM, John Reid <[email protected]> wrote: > > dpkg -L libmysqlclient-dev > > returns "Package `libmysqlclient-dev' is not installed. > Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg > --contents (= dpkg-deb --contents) to list their contents." > > apt-get install libmysqlclient-dev > > returns "Package 'libmysqlclient-dev' is not available, but is referred to > by another package. > This may mean that the package is missing, has been obsoleted, or is only > available from another source > However the following packages replace it: > mysql-server-5.1 > E: Package 'libmysqlclient-dev' has no installation candidate" > > apt-get install mysql-server-5.1 > > returns "Reading package lists... > Building dependency tree... > Reading state information... > mysql-server-5.1 is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." > > Can I force installation of libmysqlclient-dev? > Should I? > > > Try installing the libmysqlclient15-dev package . # dpkg-query -S /usr/include/mysql/mysql.h libmysqlclient15-dev: /usr/include/mysql/mysql.h _______________________________________________ NZLUG mailing list [email protected] http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug