On 05/27/11 00:00, Sisyphus wrote: >> I'm using Inline::C to link to static libraries. Some of these >> libraries are built as 32 bit but our test machines are 64 bit >> (CentOS VMs actually) and thus the Perl installed there is 64 bit by >> nature. I've tried installing perl.i386 and it says it installed but >> /usr/bin/perl still is 64 bit. > > Could it have been put into /usr/local/bin (or even somewhere else > altogether) instead ? Well it wasn't in there. Also rpm -ql perl.i386 said it installed /usr/bin/perl! >> As is hinted to from http://www.perlmonks.org/?node_id=597448 do I >> have to build a 32 bit version of Perl for this 64 bit machine by >> hand or is there a way for 64 bit Perl and Inline::C to play nice and >> load 32 bit static libs? > I'm sure anything is possible but, afaik, the only practical way of > having Perl/Inline::C use 32-bit static libs is to use a 32-bit build > of perl with a 32-bit compiler (preferably the 32-bit compiler that > built that 32-bit perl). Is it possible to build a 32 bit perl on a 64 bit machine and tell it to install into /usr/local/bin? I tried that but ended up with a 64 bit executable nonetheless (it's been a long time since I've built a perl...). -- Andrew DeFaria <http://defaria.com> A conscience is what hurts when all your other parts feel so good.Thread Previous | Thread Next