Subject | Build UDF under mac os X Tiger |
---|---|
Author | Moreno Vandelli |
Post date | 2008-01-19T08:47:24Z |
I recently switched to Mac Os (only at home..)
and I'm trying to create a "firebird development
environment". I try to build "rfunc.dylib" as
UDF, but I get some errors when I try to link
against ib_util (here libib_util.dylib).
It seems that I can not use the switch "-l/PATH_TO_IB_UTIL"
because I get "this is not a library" from "libtool"..
Since I'm not able to run a "normal" Makefile on
this platform (my fault, of course) I'm using this
command line:
libtool -dynamic -flat_namespace -install_name
@executablepath/../Frameworks/rfunc.dylib \
-lSystem
-l/Library/Frameworks/Firefox.framework/Libraries/libib_util.dylib \
-o rfunc.dylib (omissis) rmd5c.o
Question: how can I correctly link against "ib_util"
and other FB libraries?
Thank you in advance for suggestions
and I'm trying to create a "firebird development
environment". I try to build "rfunc.dylib" as
UDF, but I get some errors when I try to link
against ib_util (here libib_util.dylib).
It seems that I can not use the switch "-l/PATH_TO_IB_UTIL"
because I get "this is not a library" from "libtool"..
Since I'm not able to run a "normal" Makefile on
this platform (my fault, of course) I'm using this
command line:
libtool -dynamic -flat_namespace -install_name
@executablepath/../Frameworks/rfunc.dylib \
-lSystem
-l/Library/Frameworks/Firefox.framework/Libraries/libib_util.dylib \
-o rfunc.dylib (omissis) rmd5c.o
Question: how can I correctly link against "ib_util"
and other FB libraries?
Thank you in advance for suggestions