General
cancel
Showing results for 
Search instead for 
Did you mean: 

DBD::Informix 64bit fails on dbd_ix_opendatabase

Van den Broeck Tijl
Valued Contributor

DBD::Informix 64bit fails on dbd_ix_opendatabase

Hi,

I've installed in the following order:
- 64 bit HP Perl 5.08
- esql 2.90 64bit
- Informix 10 fc4 64bit
- HP ansi cc.

Compilation of DBD::Informix fails. So I ran
esql -o esqlbasic esqlbasic.ec
and it gave no problems
esql -o esqltest esqltest.ec
however, gave the following:
ld: Unsatisfied symbol "dbd_ix_opendatabase" in file esqltest.o
1 errors.

I've figured that esql generates the following code:
/opt/informix/lib/esql/esqlc -t unix sqltest.ec
cc -Wp,-H400000 +Ofastaccess +DS2.0 +DA2.0W -I/opt/informix/incl/esql -o esqltest esqltest.c -L/opt/informix/lib -L/opt/informix/lib/esql -lifsql -lifasf -lifgen -lifos -lifgls -lnsl -lm -lsec /opt/informix/lib/esql/checkapi.o -lifglx

If I search every file in /opt/informix for references to dbd_ix_opendatabase, I can't find anything. What am I missing in this picture that's going wrong :-/
2 REPLIES
Van den Broeck Tijl
Valued Contributor

Re: DBD::Informix 64bit fails on dbd_ix_opendatabase

The esqltest problem was solved after fixing the following:
"esql esqlc_v5.ec" in the DBD::Informix module dir, and next running "esql -o esqltest esqlc_v5.o esqltest.ec"
Luk Vandenbussche
Honored Contributor

Re: DBD::Informix 64bit fails on dbd_ix_opendatabase

Nice job Tijl