can't find mysql.h

"John Reid" <[email protected]> Sat, 10 Dec 2011 10:22:18 +1100 (EST)
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <[email protected]>
I recently purchased i386 Debian 6.0.3 which included LAMP.

I have got my server up and working (with no GUIs) and I am talking to it
via ftp and Apache from clients on the LAN. Works fine. MySQL works fine
from the command line.

But I can't find mysql.h and various mysql libraries required when runnin=
g
MySQL as an API from C code, i.e.

find / | grep mysql.h

draws a blank.

I have tried apt-get on libmysqlclient-dev and mysql-server-5.1. apt-get
tells me the latter is up-to-date. Whatever. I still can't find mysql.h.
Has the use of C header files within Debian Linux been deprecated or am I
doing something wrong?

I have spent days searching the Web for some clues on this but nothing
seems relevant. Should I uninstall mysql-server-5.1 and then install it
again? I am cautious about copying libraries and include files from
elsewhere if they are not part of a Debian package.



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