[Dbd-firebird-devel] How To Build on OS X?

David E. Wheeler david at justatheory.com
Mon Jan 5 19:01:48 UTC 2015


On Nov 8, 2013, at 2:32 PM, David E. Wheeler <david at justatheory.com> wrote:

> Ștefan Suciu has been working on a patch for [Sqitch] that adds Firebird support. He’s about done, so I wanted to test it. I installed FirebirdSS-2.5.2-26540-0-x86_64 on my Mac (10.9 “Mavericks”) and tried to build DBD::Firebird. Alas, it can’t find the framework:
> 
>      Running Mkbootstrap for DBD::Firebird ()
>      chmod 644 Firebird.bs
>      rm -f blib/arch/auto/DBD/Firebird/Firebird.bundle
>      env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector -framework Firebird  Firebird.o dbdimp.o  -o blib/arch/auto/DBD/Firebird/Firebird.bundle 	\
>      	     	\
> 	  
>      ld: framework not found Firebird
>      clang: error: linker command failed with exit code 1 (use -v to see invocation)
>      make: *** [blib/arch/auto/DBD/Firebird/Firebird.bundle] Error 1
> 
> My Google-foo fails me. Any suggestions? Am I missing a library or something?

I found the solution today thanks to [this Ruby fb report](https://github.com/rowland/fb/issues/22): This installation requires the Xcode comamnd-line tools. Just run this to install them:

    xcode-select --install

Once that finished, I was able to build and install DBD::Firebird it without issue.

Best,

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4118 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/dbd-firebird-devel/attachments/20150105/5026b37b/attachment.bin>


More information about the Dbd-firebird-devel mailing list