Subject | Re: [ib-support] FB Mac OS X |
---|---|
Author | John Bellardo |
Post date | 2002-10-24T06:04:03Z |
Naoto,
On Wednesday, October 23, 2002, at 10:39 PM, Naoto Gohko wrote:
> Hi,
> It contributes for the first time.
>
> [...]
> The portions in which I changed Makefile.PL of DBD-InterBase are the
> following portions.
>
> [geen:bsd_ufs/cvsdbi-interbase/dbi-interbase] chroum% diff Makefile.PL
> Makefile.darwin.PL
> 75a76,87
>> elsif ($Config::Config{osname} eq 'darwin')
>> {
>> $isql_name = 'isql';
>>
>> # try to find InterBase installation via the registry
>> my $ib_bin_dir = '';
>>
>> $ib_lib_dir .= '\\' unless ($ib_lib_dir =~ m|^.*\\$|gi);
>>
>> @ib_bin_dirs = (qw(/opt/interbase/bin
> /Library/Frameworks/Firebird.framework/Resources/bin));
>> @ib_inc_dirs = (qw(/opt/interbase/include
> /Library/Frameworks/Firebird.framework/Headers));
>> }
> [...]
I've never used DBD-InterBase (although I probably should soon), so I
can't give you any direct experience. But, it can't see where in your
changes you are linking against the framework. You need a "-framework
Firebird" in the link line for your module, or else the dynamic loader
won't load the FB framework when your module is loaded, and you will
get unresolved symbols.
-John