Lazarus

Installation => macOS / Mac OS X => Topic started by: motaz on January 12, 2013, 05:22:24 pm

Title: Turbo Bird version 0.9.8 "Unable to load Firebird library: libfbclient.dylib"
Post 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
Title: Re: Turbo Bird version 0.9.8 "Unable to load Firebird library: libfbclient.dylib"
Post by: taazz on January 12, 2013, 06:24:30 pm
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.
Title: Re: Turbo Bird version 0.9.8 "Unable to load Firebird library: libfbclient.dylib"
Post by: IndianaJones on January 12, 2013, 07:33:57 pm

@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.
Title: Re: Turbo Bird version 0.9.8 "Unable to load Firebird library: libfbclient.dylib"
Post by: taazz on January 12, 2013, 08:02:17 pm
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.
Title: Re: Turbo Bird version 0.9.8 "Unable to load Firebird library: libfbclient.dylib"
Post by: kamischi on February 06, 2013, 05:48:14 pm
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.
Title: Re: Turbo Bird version 0.9.8 "Unable to load Firebird library: libfbclient.dylib"
Post by: IndianaJones on February 06, 2013, 09:54:37 pm

Can you explain a little bit further, what is lipo?
Title: Re: Turbo Bird version 0.9.8 "Unable to load Firebird library: libfbclient.dylib"
Post by: BigChimp on February 07, 2013, 08:15:23 am

Can you explain a little bit further, what is lipo?
http://lmgtfy.com/?q=lipo+osx
TinyPortal © 2005-2018