Install DBD-Informix on 64bit RHEL
Posted in 2008
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL
Dear Everyone, I got a 64bit RHEL running 32bit IDS11(we don't have 32bit IDS). The processor is a Xeon 3000, therefore I believe that 32bit software will run. Everything goes fine until we got this DBD-Informix problem. Because the perl is a 64bit version (5.10.0), but the esql is a 32bit. We got error messages as following, *------------------------------------------------------------------------------- ------------------------------------------- lib/DBD/Informix/Defaults.pm written OK esqlinfo.h written OK Testing whether your Informix test environment will work... /usr/bin/ld: skipping incompatible /opt/ids/lib/esql/libifsql.so when searching for -lifsql /usr/bin/ld: skipping incompatible /opt/ids/lib/esql/libifsql.a when searching for -lifsql /usr/bin/ld: cannot find -lifsql collect2: ld returned 1 exit status Failed to link test program esqltest Warning: No success on command[/usr/local/bin/perl Makefile.PL] JOHNL/DBD-Informix-2008.0513.tar.gz /usr/local/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: JOHNL/DBD-Informix-2008.0513.tar.gz : writemakefile NO '/usr/local/bin/perl Makefile.PL' returned status 6400 *------------------------------------------------------------------------------- --------------------------------------------- I have no idea what this '-lifsql' is. I checked on google that someone believe it is something to do with gcc flags, say '-m32'...... Is there anyone successfully installed DBD-Informix on a 64bit box? Or we should just move back to 32bit RHEL? Thank you
It is doable, at least in a Solaris environmnent. If you have to change anything is more probably some option on the ld rather than the gcc. Why don't just install a 64 bits CSDK, which is free, in another directory where your engine is installed and use that directory as your informixdir to compile the Perl Module? -----Original Message----- From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of CHENG ZOU Sent: Wednesday, October 08, 2008 6:58 PM To: ids@iiug.org Subject: Install DBD-Informix on 64bit RHEL [13644] Dear Everyone, I got a 64bit RHEL running 32bit IDS11(we don't have 32bit IDS). The processor is a Xeon 3000, therefore I believe that 32bit software will run. Everything goes fine until we got this DBD-Informix problem. Because the perl is a 64bit version (5.10.0), but the esql is a 32bit. We got error messages as following, *----------------------------------------------------------------------- --------------------------------------------------- lib/DBD/Informix/Defaults.pm written OK esqlinfo.h written OK Testing whether your Informix test environment will work... /usr/bin/ld: skipping incompatible /opt/ids/lib/esql/libifsql.so when searching for -lifsql /usr/bin/ld: skipping incompatible /opt/ids/lib/esql/libifsql.a when searching for -lifsql /usr/bin/ld: cannot find -lifsql collect2: ld returned 1 exit status Failed to link test program esqltest Warning: No success on command[/usr/local/bin/perl Makefile.PL] JOHNL/DBD-Informix-2008.0513.tar.gz /usr/local/bin/perl Makefile.PL -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: JOHNL/DBD-Informix-2008.0513.tar.gz : writemakefile NO '/usr/local/bin/perl Makefile.PL' returned status 6400 *----------------------------------------------------------------------- ----------------------------------------------------- I have no idea what this '-lifsql' is. I checked on google that someone believe it is something to do with gcc flags, say '-m32'...... Is there anyone successfully installed DBD-Informix on a 64bit box? Or we should just move back to 32bit RHEL? Thank you ************************************************************************ ******* Forum Note: Use "Reply" to post a response in the discussion forum.
Can't mix 64bit Perl-DBD with 64bit ESQL libraries. You'll need 64bit CSDK/ESQL for the perl DBD to run and you'll have to use a network or stream-pipe connection to talk to the 32bit server. Art On Wed, Oct 8, 2008 at 7:57 PM, CHENG ZOU <cheng.c.zou@gmail.com> wrote: > Dear Everyone, > I got a 64bit RHEL running 32bit IDS11(we don't have 32bit IDS). The > processor > is a Xeon 3000, therefore I believe that 32bit software will run. > Everything > goes fine until we got this DBD-Informix problem. Because the perl is a > 64bit > version (5.10.0), but the esql is a 32bit. We got error messages as > following, > > > > *------------------------------------------------------------------------------- ------------------------------------------- > lib/DBD/Informix/Defaults.pm written OK > esqlinfo.h written OK > > Testing whether your Informix test environment will work... > /usr/bin/ld: skipping incompatible /opt/ids/lib/esql/libifsql.so when > searching for -lifsql > /usr/bin/ld: skipping incompatible /opt/ids/lib/esql/libifsql.a when > searching > for -lifsql > /usr/bin/ld: cannot find -lifsql > collect2: ld returned 1 exit status > Failed to link test program esqltest > Warning: No success on command[/usr/local/bin/perl Makefile.PL] > JOHNL/DBD-Informix-2008.0513.tar.gz > /usr/local/bin/perl Makefile.PL -- NOT OK > Running make test > Make had some problems, won't test > Running make install > Make had some problems, won't install > Failed during this command: > JOHNL/DBD-Informix-2008.0513.tar.gz : writemakefile NO '/usr/local/bin/perl > Makefile.PL' returned status 6400 > > > *------------------------------------------------------------------------------- --------------------------------------------- > > I have no idea what this '-lifsql' is. I checked on google that someone > believe it is something to do with gcc flags, say '-m32'...... Is there > anyone > successfully installed DBD-Informix on a 64bit box? Or we should just move > back to 32bit RHEL? > > Thank you > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > -- Art S. Kagel Oninit (www.oninit.com) IIUG Board of Directors (art@iiug.org) Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Oninit, the IIUG, nor any other organization with which I am associated either explicitly or implicitly. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves.