rowland / fb

Firebird Extension Library for Ruby
64 stars 36 forks source link

Can't install on OSX Mavericks #22

Closed rzane closed 10 years ago

rzane commented 10 years ago

I have Firebird CS-2.5.2-26540-0-lipo-x86_64 installed at /Library/Frameworks/Firebird.framework. Before I upgraded to Mavericks, I had no trouble installing.

Here's mkmf.log:

"/usr/bin/clang -o conftest -I/Users/ray/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/x86_64-darwin13.0.0 -I/Users/ray/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0/ruby/backward -I/Users/ray/.rvm/rubies/ruby-2.0.0-p353/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include   -I/Library/Frameworks/Firebird.framework/Headers  -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration  -fno-common -pipe -DOS_UNIX conftest.c  -L. -L/Users/ray/.rvm/rubies/ruby-2.0.0-p353/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L. -fstack-protector -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib  -framework Firebird     -lruby.2.0.0  -lpthread -ldl -lobjc "
ld: framework not found Firebird
clang: error: linker command failed with exit code 1 (use -v to see invocation)
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */
rzane commented 10 years ago

Solved. For anyone who encounters this issue, just run xcode-select --install and you should be good to go.