Firemonkey on Mac

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
jbmiller
Posts: 12
Joined: Wed 30 May 2012 21:33

Firemonkey on Mac

Post by jbmiller » Sat 23 Jun 2012 13:22

I'm trying to launch my firemonkey app on a mac from the IDE using the IBDAC. The first thing I get is an error: EIBClientError, Interbase library libgds.dylib not found.

I have firebird installed on the mac and it is running. I'm using the version before the the latest requiring update 4 hotfix 1.

ZEuS
Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: Firemonkey on Mac

Post by ZEuS » Mon 25 Jun 2012 11:40

"libgds.dylib" is the default Interbase client library name.
Since you are using Firebird, please try to set the IBCConnection1.ClientLibrary property to "libfbclient.dylib".

jbmiller
Posts: 12
Joined: Wed 30 May 2012 21:33

Re: Firemonkey on Mac

Post by jbmiller » Mon 25 Jun 2012 13:43

Thanks for the info. At least I knew what file to look for.

I'm not sure if this will help anyone or not but finding the libfbclient.dylib isn't exactly easy. First, it appears that libfbclient.dylib is not included in the standard server package for Mac OSX. It showed up when I installed the Lipo package. Then, there is no link in the standard user lib to libfbclient.dylib either. From what I read, you're supposed to be able to create an alias to the file but I was unsuccessful. I just copied libfbclient.dylib to the usr/lib folder from Library/Frameworks/Firebird.framework/Versions/A/Libraries.

I think it is working but now I have to figure out why a database file created on my windows machine is not compatible with the Mac (version 11.0 vs 11.2). Both servers are the most recent.

Post Reply