Linux Lazarus and libmysqld.so

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
saverio
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 24.11.2006, 21:40

Linux Lazarus and libmysqld.so

Post 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
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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
saverio
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 24.11.2006, 21:40

Post 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
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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...
saverio
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 24.11.2006, 21:40

Post 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".
Post Reply