Re: Perl DBD::Informix and IDS 64-bit
Posted in 2003
Hi, I'm using Perl 64 bit on Solaris 9. The Sun provided Perl is 5.6.1 and 32bit. So I built my own 5.8.0 with the Sun CC 5.4 and DBD-Informix 2003.04 and DBI 1.34, CSDK 2.81FC2, IDS 7.31FD5. Works fine and is in production now. But I never managed it to get a DBI>1.34 working on this Plattform. I've escalated this case with IBM informix Support here in Germany, but it didn't get to Jonathan Leffeler I think. The problem was that DBI->errstr pointed in the wrong direction so that I got a Segmentation Violation when trying to print it. > I'm curious: does anyone have any experience using Perl > DBD::Informix with 64-bit IDS? If so, how well does it work (if it > works at all)? Any "gotchas" to look out for? There are two parts to the answer. 1. The nit-picking pedantry bit says "It depends on whether you build with a 32-bit or 64-bit version of CSDK - because a 32-bit CSDK cannot use shared memory communications with a 64-bit server - but otherwise there are no issues whatsoever". 2. I can't answer for other people, but I can give you my perspective on it. The issue with using Perl with a 64-bit IDS tends to be getting a 64-bit Perl. That depends on the platform - which you don't mention - but where you have a choice of 32-bit or 64-bit (eg Solaris), the default builds of Perl tend to be 32-bit, and that won't work with a 64-bit CSDK. So, stage 1 is understand whether you have a 32-bit vs 64-bit issue to address, and make sure you have Perl built correctly for the version of CSDK you want to use. There are some (what I hope are) minor warnings during a build of DBD::Informix with a 64-bit CSDK. The major problem is tempus fugit. If anyone wants to offer help in improving 64-bit support, talk to me! -- General Logistics Systems Thomas Mieslinger German-Parcel-Str. 1-7 fon: +49 6677 17 463 36286 Neuenstein fax: +49 6677 17 111 Germany eMail: thomas.mieslinger@gls-germany.com sending to informix-list