Re: Installing 32 bit DBI.pm

"Terence J. Young, D.C." <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Organization MHCDC
Message-ID <[email protected]>
Hi,

On MacOsx, perl is universal (ie both 64 and 32 bit). To install a 32 
bit module (for example, installing DBD::Sybase against a 32 middleware 
for sybase) you would use this..

    env ARCHFLAGS -i386 perl Makefile.PL

On linux, you could try using..

    setarch i386 perl Makefile.PL

I have never tried this on linux.  The setarch i386 tells perl tp see 
the machine it is running on as a 32 machine.  Of course, you would also 
need all the required 32 bit devel libs to be installed.

terry




On 5/25/12 10:52 AM, [email protected] wrote:
> Hi,
>
> We are using a 32 bit perl 5.8.0 = ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped
>
> As per your support matrix -  http://matrix.cpantesters.org/?dist=DBI%201.621;maxver=1 , I downloaded DBI 1.605 and installed it.
>
> I got errors when installing and it seems to be due to DBI.pm is ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped
>
> In the location where I downloaded the installer http://backpan.perl.org/authors/id/T/TI/TIMB/ , there is no different installer for 32 bit and 64 bit.
>
> Please advise.
>
> Thanks,
> Chee-Yuen
>
>
> ________________________________
> Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.
> ______________________________________________________________________________________
>
> www.accenture.com
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.