Recent

Author Topic: Lazarus and MySql on Mac  (Read 5255 times)

Fuser

  • Newbie
  • Posts: 1
Lazarus and MySql on Mac
« on: June 03, 2011, 10:42:44 am »
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.

Arbee

  • Full Member
  • ***
  • Posts: 223
Re: Lazarus and MySql on Mac
« Reply #1 on: June 03, 2011, 01:23:18 pm »
A similar problem (and resolution) is described here for Firebird on Mac.  The phenomenon you describe is the same:

http://lazarus.freepascal.org/index.php/topic,12190.0.html
1.0/2.6.0  XP SP3 & OS X 10.6.8

 

TinyPortal © 2005-2018