DBD::Informix on Red Hat
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ODBC / JDBC / .NET, Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Hi there, I know that this has been asked before ... but does someone of you would be so kind to write down the steps needed to compile DBD::Informix on a Red Hat linux 5.2 without getting this errors ? : Configuring DBD::Informix version 0.60... You are using DBI version 1.13 and Perl version 5.00503 Remember to actually read the README file! Using INFORMIX-ESQL Version 7.24.UC5 from /usr/local/informix DBD::Informix doesn't check whether ODBC or Informix-CLI software is installed any more. It uses a home-brew odbctype.h instead. Testing whether your Informix test environment will work... cc: /usr/local/informix/lib/libnetstub.so: linker input file unused since linking not done cc: /usr/local/informix/lib/libnetstub.so: linker input file unused since linking not done /usr/local/informix/lib/esql/libixos.so: undefined reference to `crypt' Failed to link test program esqltest Thanks in advance
GB wrote: > > Hi there, I know that this has been asked before ... but does someone of you > would be so kind to write down the steps needed to compile DBD::Informix on > a Red Hat linux 5.2 without getting this errors ? : > > Configuring DBD::Informix version 0.60... > You are using DBI version 1.13 and Perl version 5.00503 > Remember to actually read the README file! > > Using INFORMIX-ESQL Version 7.24.UC5 from /usr/local/informix > > DBD::Informix doesn't check whether ODBC or Informix-CLI software > is installed any more. It uses a home-brew odbctype.h instead. > > Testing whether your Informix test environment will work... > cc: /usr/local/informix/lib/libnetstub.so: linker input file unused since > linking not done > cc: /usr/local/informix/lib/libnetstub.so: linker input file unused since > linking not done > /usr/local/informix/lib/esql/libixos.so: undefined reference to `crypt' > Failed to link test program esqltest Check out the www.informix.com/idn web site (Linux and/or Dynamic 4GL corners), where this very old question should be answered. Basically, you need to modify the esql script to add -lcrypt to the list of system libraries (remember to backup the original version of the script). The input file unused messages are ungainly but ignorable. -- Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net) Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN #include <disclaimer.h>