develooper Front page | perl.64bit | Postings from October 2004

Loading 32 bit shared libraries from 64 bit perl

From:
alan
Date:
October 28, 2004 14:49
Subject:
Loading 32 bit shared libraries from 64 bit perl
Message ID:
Pine.LNX.4.44.0410281345200.22245-100000@www.fnordora.org

I have a perl module that loads a couple of closed source linux shared 
libraries.  (It is the YourPay credit card authentication code.)

We are using Fedora Core 2 on both systems.

It works fine on the Pentium whatever we were running on.

Now we have moved to a dual AMD64 system and the libraries blowup in the 
DynamicLoader.pm.

Can't load './liblperl.so' for module liblperl: ./liblperl.so: cannot open 
shared object file: No such file or directory at 
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230.

The library is there.  All the files it links to are there.  (Verified 
with ldd.)  

I believe it is a 64bit v.s. 32 bit issue and the 64 bit version of XS is 
choking trying to load the 32 bit libraries.

Any ideas of what is going wrong here?  Things to try?  Blood sacrifices 
to make?

Thanks!

-- 
chown -R us ./base




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About