[Solved] ZeosDBO on Mac

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Fuser
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 03.06.2011, 09:04

[Solved] ZeosDBO on Mac

Post by Fuser »

Hi, all!

I'm proving to connect lazarus to mysql since 2 weeks but i'm not able to do this.

I'm a Delphi developer and in my Delphi projects I'm using ZeosDBO: I would like to do the same on Mac.

I have downloaded and installed this:
1) fpc 2.4.2
2) fpcsrc 2.4.2
3) Lazarus Ide v.0.9.30
4) ZeosDBO 6.6.6 stable
5) MySQL 5.6.2

My S.O. is OSX10.6 on intel 32bit.

I know how to use Zeos because I use it in Delphi.

My problem is this:
in a new lazarus project, in a new form drop a Zconnectio. I set to it user, pwd, port, catalog, host, database and Protocol (mysql-5).
When I set, at design time, Connected = True I have this error:
"...libmysqlclient.so.15, libmysqlclient.so not found".

I have read many post on this forum and searched on google, but I'm not was able to resolve it.

So, can anyone help me to obtain and set the best configuration for me?

Many thanks to everyone that will help me.
Last edited by Fuser on 07.06.2011, 08:17, edited 1 time in total.
User avatar
Pitfiend
Senior Boarder
Senior Boarder
Posts: 68
Joined: 12.12.2009, 07:27

Post by Pitfiend »

Are you sure that exists a mysql port to mac osx10.6? if so, you need to put the client libraries in the search path, don't know if mac has something like that, try to put them in the same folder as your lazarus binaries and your application, just in case.
Post Reply