Forum > Linux

mysql + lazarus

(1/2) > >>

Tuxmona:
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:
nobody can help me???

was33:
I already have identicall problem. I use SuSE 9.1. I hope that upgrade MySQL version to 4.0 and resolve problem

Drewski:
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:
Hi
I have another error now:
"can't find unit MYSQLDB"
Do you know why?

Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version