Page 1 of 1

Linux Lazarus and libmysqld.so

Posted: 29.11.2006, 02:10
by saverio
Hello
I am trying to compile a database application by using lazarus in Linux (SuSe 10.1 64), so i need the "libmysqld.so" library. Could someone post here a link to get this file or explane to me how to compile it?

Thanks

Posted: 29.11.2006, 09:29
by mdaems
Are you sure you want to use the embedded server?
If not you should use libmysql.so.
You can use the libraries from your mysql server distribution, if you have it installed on your machine. (Maybe you have to build the embedded server version yourself)
Sorry, I can't send them. Using Windows.

Mark

Posted: 29.11.2006, 20:55
by saverio
Hi Mark!

I need a "portable" application to run on systems where is not installed the MyQSL server, so i have to use the embedded server. What do you mean when you say "are you sure"? it's too hard to build it maybe?
Let me please another question: Do you know something about this message:
"....ZDataset.pas(38,6) Error: identifier not found: TDataSetNotifyEvent" that i get when i try to create an event with ZQuery in lazarus? I get this error with all versions of lazarus (0.9.14-0.9.20) windows or linux platform and any version of zeos.
In Delphi i never had any problem with zeos.

Saverio

Posted: 29.11.2006, 21:10
by mdaems
No, it's not hard to build an app with the embedded server. Actually, it's just choosoing the right protocol andeventually setting the right options. See the example in the zeoslib package.

Only problem is getting a libmysqld.so file. (I asked 'sure' because sometimes people don't know the difference of the extra d) On linux, I think you usually build it yourself. (Not?) Else, look if it is included in your distribution.

I don't understand what you mean by 'create an event with zquery in lazarus'. Is it setting an 'On...' property in the Lazarus PropertyPalette? Maybe you best check that with a lazarus expert...

Posted: 29.11.2006, 21:25
by saverio
When i say create an event i mean add a procedure. The olny procedure i can add to my project is "OnUpdateRecord". If i click on any other event on Object Inspector i get the message: "Unable to create new method. Plz fix the error shown in the message window".