Can I subscribe to information on new tests?
Install DBD-Informix on 64bit RHEL
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Perl web-programming > Install DBD-Informix on 64bit RHEL 9 October 2008 21:32:10

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Install DBD-Informix on 64bit RHEL

Changcheng Zou 9 October 2008 21:32:10
 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/De­faults.pm written OK
esqlinfo.h written OK

Testing whether your Informix test environment will work...
/usr/bin/ld: skipping incompatible /opt/ids/lib/esql/ibifsql.so when
searching for -lifsql
/usr/bin/ld: skipping incompatible /opt/ids/lib/esql/l­ibifsql.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/b­in/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/per­l
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
Add comment
Peter J. Holzer 9 October 2008 11:26:18 permanent link ]
 On 2008-10-09 10:58:01 +1000, Changcheng Zou wrote:
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,

You cannot link a 32 bit library to a 64 bit program (or vice versa).
You will either have to get the 64bit client libraries of informix
(assuming the exist) or compile a 32 bit version of perl.


*------------------­--------------------­--------------------­--------------------­--------------------­--------------------­----
lib/DBD/Informix/De­faults.pm written OK
esqlinfo.h written OK
Testing whether your Informix test environment will work...
/usr/bin/ld: skipping incompatible /opt/ids/lib/esql/ibifsql.so when
searching for -lifsql
/usr/bin/ld: skipping incompatible /opt/ids/lib/esql/l­ibifsql.a when
searching for -lifsql
/usr/bin/ld: cannot find -lifsql
*------------------­--------------------­--------------------­--------------------­--------------------­--------------------­------
I have no idea what this '-lifsql' is.

"-lifsql" means "link with the "ifsql" library. The linker does find two
libraries (/opt/ids/lib/esql/­libifsql.so and
/opt/ids/lib/esql/l­ibifsql.a) but both are of the wrong type, so it
tells you that it cannot use them.

hp

--
_ | Peter J. Holzer | Am Anfang war der Bug und der
|_|_) | Sysadmin WSR | Verantwortliche sprach:
| | | hjp@wsr.ac.at | Es werde ein Testcase.
__/ | http://www.hjp.at/ | -- Clemens Zauner in dcii
Add comment
Jonathan Leffler 9 October 2008 21:32:10 permanent link ]
 On Thu, Oct 9, 2008 at 12:26 AM, Peter J. Holzer <hjp@wsr.ac.at> wrote:

On 2008-10-09 10:58:01 +1000, Changcheng Zou wrote:
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,
You cannot link a 32 bit library to a 64 bit program (or vice versa).
You will either have to get the 64bit client libraries of informix
(assuming the exist) or compile a 32 bit version of perl.


Peter is spot on. And 64-bit CSDK (ESQL/C) should be available.

The only thing that concerns me is that the Makefile.PL is supposed to
detect a mismatch between 64-bit Perl and 32-bit ESQL/C (or vice versa).
Please could you send me (no need to trouble the list) the output of 'perl
-V', and also the full output from 'perl Makefile.PL'. With luck, that will
allow me to see why you didn't get a sane error message about mixing 32-bit
and 64-bit files.



*------------------­--------------------­--------------------­--------------------­--------------------­--------------------­----
lib/DBD/Informix/De­faults.pm written OK
esqlinfo.h written OK
Testing whether your Informix test environment will work...
/usr/bin/ld: skipping incompatible /opt/ids/lib/esql/ibifsql.so when
searching for -lifsql
/usr/bin/ld: skipping incompatible /opt/ids/lib/esql/l­ibifsql.a when
searching for -lifsql
/usr/bin/ld: cannot find -lifsql
*------------------­--------------------­--------------------­--------------------­--------------------­--------------------­------
I have no idea what this '-lifsql' is.
"-lifsql" means "link with the "ifsql" library. The linker does find two
libraries (/opt/ids/lib/esql/­libifsql.so and
/opt/ids/lib/esql/l­ibifsql.a) but both are of the wrong type, so it
tells you that it cannot use them.


--
Jonathan Leffler <jonathan.leffler@g­mail.com> #include <disclaimer.h>
Guardian of DBD::Informix - v2008.0513 - http://dbi.perl.org­
"Blessed are we who can laugh at ourselves, for we shall never cease to be
amused."
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Perl web-programming > Install DBD-Informix on 64bit RHEL 9 October 2008 21:32:10

see also:
Re: svn commit: r383510…
UUIDs - Universal Unique Identifier
[announcement] DOCO prototype in…
пройди тесты:
see also:
Hi ludi!
Hello
Hitech to will help English Bobbies?

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .