Page 1 of 1

[Solved] ZeosDBO on Mac

Posted: 03.06.2011, 09:48
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.

Posted: 06.06.2011, 20:04
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.