Subject Re: [firebird-support] OS X - PHP module or fbclient library missing
Author John Bellardo
On Jun 27, 2005, at 9:09 AM, flinntheduke wrote:

> Hello,
> I'm trying to use firebird with PHP on a OS X platform, but I didn't
> found the specific php module.
>
> I tried to recompile php but in this case I need the fb client lib
> (libfbclient.so or libgds.so) that are non present in the fb binary
> distribution for os x.
>
> Do I need to recompile the firebird binary distribution to get this
> client libs?
>
> Has anyone this libs indeed?
>
> Thanks in advance.

The client libs are included with the Firebird distribution, they are
just packaged in the OS X native format which is different than other
*nix boxes. The configure script for the PHP module needs to be
updated to reflect this. You can link against Firebird with the
linker option "-Framework Firebird". If you get that added to the
PHP link command it should work. Alternatively (but less elegant)
you can link /Library/Frameworks/Firebird.framework/Versions/A/
Firebird to /usr/lib/libfbclient.so and include the compile option "-
ILibrary/Frameworks/Firebird.framework/Headers" so the compiler knows
where to find the firebird header files.

-John