Subject | isql DYLD_LIBRARY_PATH Mac OSX |
---|---|
Author | Todd Fisher |
Post date | 2005-01-16T05:20:24Z |
Hi,
I'm trying to run isql command on the mac osx 10.3. The problem I
have now after having built firebird, is that when I execute isql
command without having run make install, I get:
dyld: $HOME/projects/firebird-1.5.2.4731/gen/firebird//bin/isql
Undefined symbols:
$HOME/projects/firebird-1.5.2.4731/gen/firebird//bin/isql undefined
reference to __ZdlPv expected to be defined in Firebird
$HOME/projects/firebird-1.5.2.4731/gen/firebird//bin/isql undefined
reference to __Znwm expected to be defined in Firebird
I believe, I should just have to point DYLD_LIBRARY_PATH to
$HOME/projects/firebird-1.5.2.4731/gen/firebird/lib and all should be
well. So, in my makefile I have:
FBISQL=DYLD_LIBRARY_PATH=$(FIREBIRDDIST)/lib:$DYLD_LIBRARY_PATH
$(FIREBIRDDIST)/bin/isql
Then I just call $(FBISQL) -input file.sql ...
Any suggestions on how this should work on the mac? This works in
linux fine replacing DYLD_LIBRARY_PATH with LD_LIBRARY_PATH.
Perhaps, I am missing something about how the dynamic linker works?
-todd
I'm trying to run isql command on the mac osx 10.3. The problem I
have now after having built firebird, is that when I execute isql
command without having run make install, I get:
dyld: $HOME/projects/firebird-1.5.2.4731/gen/firebird//bin/isql
Undefined symbols:
$HOME/projects/firebird-1.5.2.4731/gen/firebird//bin/isql undefined
reference to __ZdlPv expected to be defined in Firebird
$HOME/projects/firebird-1.5.2.4731/gen/firebird//bin/isql undefined
reference to __Znwm expected to be defined in Firebird
I believe, I should just have to point DYLD_LIBRARY_PATH to
$HOME/projects/firebird-1.5.2.4731/gen/firebird/lib and all should be
well. So, in my makefile I have:
FBISQL=DYLD_LIBRARY_PATH=$(FIREBIRDDIST)/lib:$DYLD_LIBRARY_PATH
$(FIREBIRDDIST)/bin/isql
Then I just call $(FBISQL) -input file.sql ...
Any suggestions on how this should work on the mac? This works in
linux fine replacing DYLD_LIBRARY_PATH with LD_LIBRARY_PATH.
Perhaps, I am missing something about how the dynamic linker works?
-todd