Re: can't find mysql.h

Andrew Simpson <[email protected]> Sat, 10 Dec 2011 16:10:04 +1300
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <20111210161004.3c43e6fb@starman>
On Sat, 10 Dec 2011 13:45:48 +1100 (EST)
John Reid <[email protected]> wrote:


> 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"
> 

Something not right there, I get this:

# apt-get install -s libmysqlclient-dev

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libmysqlclient-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Inst libmysqlclient-dev (5.1.49-3 Debian:6.0.3/stable [i386])
Conf libmysqlclient-dev (5.1.49-3 Debian:6.0.3/stable [i386])

(The -s switch means 'simulate' or 'dry-run').

Checking the file list does indeed show the file you want is in that package.

Andrew   

_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug