Lazarus
Installation => macOS / Mac OS X => Topic started by: motaz on January 12, 2013, 05:22:24 pm
-
My friend Cem Zafer told me that the last version of Turbo Bird has generated the error "Unable to load Firebird library: libfbclient.dylib" in Mac while Firebird library is exist
We need Mac Lazarus users to test it and find what is wrong
You can download the last source of Turbo Bird from this link:
https://github.com/motaz/turbobird/archive/master.zip
Thanks
Motaz
-
well from my understanding so far with MACs, there is a distinction between a 32 bit and a 64 bit process and you can't load 32bit libraries for 64bit applications and vice versa. Make sure that the library has the correct bitness before starting a debug session. Please keep in mind that the above is my educated guess from what I have read on the net about problems with firebird and I have no experience or own a MAC.
-
@taazz, you are right about the explanation. The problem comes from 32-64 bit issue. I tested TurboBird with the 10.6.8 (Snow Leopard) which is a 32 bit OS. The second try was on 10.8.2 (Mountain Lion) which is a 64 bit OS. So If I compile the source with the 64 bit FPC, there will be no problem with the 10.8. I quess.
Thanks.
-
I think you can use your 32bit application on a 64bit OS as long as the firebird client library is also a 32bit library and not a 64bit one. In any case using the 64bit compiler is probably better than installing the 32bit library.
-
Can you include your lib in the application bundle or combine the 32 and the 64 bit version in a universal library using lipo?
Michael.
-
Can you explain a little bit further, what is lipo?
-
Can you explain a little bit further, what is lipo?
http://lmgtfy.com/?q=lipo+osx