ZeosDBO + Firebird + MacOS

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
StefanBatory
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 16.02.2021, 10:02

ZeosDBO + Firebird + MacOS

Post by StefanBatory »

Hi!
I try to connect to Firebird 3.0 server from Mac OS Catalina using Lazarus and ZConnection component from Zeosdbo 7.2.8
I try from designer but when I try to set Connected to True then I receive an error:
None of dynamic libraries can be found or is not loadable: libcrypt.dylib.25, libcrypt.dylib, libcrypt.dylib ! Use TZConnection.LibraryLocation if the location is invalid.
For connection I use libfbclient.dylib which is put into TZConnection.LibraryLocation field with the whole path.
Why does the compiler want libcrypt.dylib when Firelbird needs libfbclient.dylib?
Could you help, please?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Re: ZeosDBO + Firebird + MacOS

Post by marsupilami »

Hello Stefan,

please try what happens if you disable the INTERBASE_CRYPT define near the bottom of the Zeos.inc:

Code: Select all

// Loads libcrypt.so before Firebird client library.
// It fixes error "Undefined symbol: crypt".
{.$DEFINE INTERBASE_CRYPT}
Note: The insertion of the dot disables the define without removing it completely. When run on any unixoid system, Zeos tries to load libcrypt before it loads the client library. I think this is what happens in your case.

Best regards,

Jan
Post Reply