Lazarus + zeos + firebird on Mac lazarus / 16-Databases ---------------------------------------------------------------------- xinyiman · 2016-06-09 06:33 Hello guys, i have a problem with Zeus and Lazarus on Mac in an attempt to connect to a firebird db. When you launch the program this screen. What does it mean? ---------------------------------------------------------------------- markus_ja · 2016-06-09 08:16 As the error describes: Your database is not available. It doesn't exist or the path is wrong. The second "format" issue occures, since the firebird.msg file to format the massage couldn't be found. This happens, when the loaded fbclient.dll/gds32.dll is not in the same directory where firebird was installed. ---------------------------------------------------------------------- xinyiman · 2016-06-09 11:34 Thanks, but I have installed firebird on my mac. Now where I'm going to take the dll to put into the folder with my project? ---------------------------------------------------------------------- markus_ja · 2016-06-09 11:52 Set the whole path of your fbclient.dll where it is installed in the TZConnection.LibraryLocation. E.g. On my windows machine it is: LibraryLocation := "C:\Program Files\Firebird\Firebird_2_5\bin\fbclient.dll" where the messge file is located in: C:\Program Files\Firebird\Firebird_2_5\firebird.msg ---------------------------------------------------------------------- balazsszekely · 2016-06-09 12:23 @xinyiman First of all there is no dll under osx, secondly the firebird library is located here: /Library/Frameworks/Firebird.framework/Versions/A/Firebird. You should copy the file to the user directory(/usr/local/lib/libfbclient.dylib). This worked a few years ago(Mountain Lion), now things probably changed, but you should give it a try anyway. ---------------------------------------------------------------------- xinyiman · 2016-06-09 13:01 Thank you GetMem, now connection is ok, but when execute a simple query return this error ---------------------------------------------------------------------- balazsszekely · 2016-06-09 13:56 Personally I newer saw this error before, google is not helping either. I think it's a zeos issue, so try to connect to the database with TIBConnection first. Just a test connection with a simple query. ---------------------------------------------------------------------- xinyiman · 2016-06-09 14:24 I think it is a problem of Zeus. Because if I execute the query works, but if I connect to the query a DBGrid creates the problem. Ideas? ---------------------------------------------------------------------- balazsszekely · 2016-06-09 14:28 You should ask on the zeos forum, they know the code better.