mysql + lazarus lazarus / 1-Linux ---------------------------------------------------------------------- Tuxmona · 2004-06-30 08:54 Hi, I have an reeor in installing mysql component: "Error while linking" Before this, there is: undefined reference to "mysql_connect_db" undefined reference to "mysql_create_db" undefined reference to "mysql_drop_db" What can i do? Thanks ---------------------------------------------------------------------- Tuxmona · 2004-07-01 13:03 nobody can help me??? ---------------------------------------------------------------------- was33 · 2004-07-01 20:57 I already have identicall problem. I use SuSE 9.1. I hope that upgrade MySQL version to 4.0 and resolve problem ---------------------------------------------------------------------- Drewski · 2004-07-01 21:52 I played around a bit some time ago at getting mysql to work. As I remember I already had mysql 4 installed on my computer. FPC comes with the headers for mysql 4 and 3 but uses 3 by default(I think).  So what you may need to do is figure out how to use the other headers. In the FPC source dir there is a directory packages/base/mysql/ with a README in it. Also this link could be of assistance http://lazarus-ccr.sourceforge.net/index.php?wiki=LazarusDatabase HTH Andrew ---------------------------------------------------------------------- Anonymous · 2004-07-07 19:05 Hi I have another error now: "can't find unit MYSQLDB" Do you know why? Thanks ---------------------------------------------------------------------- Drewski · 2004-07-08 18:39 As near as I know the mysqldb file will not work if you had to use the mysql 4 unit. If you didn't you can try adding the (free pascal source dir)/fcl/db/mysql/ to your "Run  - Compiler options - other source files." If this doesn't work then I don't have any other ideas. Try asking on the lazarus mailinglist. Andrew.