Page 1 of 1

Firemonkey on Mac

Posted: Sat 23 Jun 2012 13:22
by jbmiller
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.

Re: Firemonkey on Mac

Posted: Mon 25 Jun 2012 11:40
by ZEuS
"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".

Re: Firemonkey on Mac

Posted: Mon 25 Jun 2012 13:43
by jbmiller
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.