in reply to Re: 32bit lib on 64bit system
in thread 32bit lib on 64bit system

The celebration was premature. "make test" works, but when we try "perl32 icstest.pl" we get

perl32: symbol lookup error: /usr/lib/perl5/5.8.8/i586-linux-thread-multi/auto/ICS/ICS.so: undefined symbol: Perl_Istack_sp_ptr

No doubt we are still missing something, but what?

Replies are listed 'Best First'.
Re^3: 32bit lib on 64bit system
by almut (Canon) on Dec 02, 2008 at 18:02 UTC

    It appears the symbol Perl_Istack_sp_ptr is only available in Perl 5.10.0 (in 5.8.8, the respective macro is defined as *Perl_Tstack_sp_ptr(aTHX)). In other words, my educated guess would be that, somehow, some part of your proprietary ICS lib or Perl module had been linked against libperl 5.10.0 ...

    It's not yet time to give up, however! :)

    You could install the perl-5.10.0 packages from SuSE 11.0 (I verified the package is compatible with the library versions (libc, etc.) that come with older SuSE releases (going back to 10.1), so this should - in theory - work).  You can get the RPMs from here:

    perl-base-5.10.0-37.4.i586.rpm
    perl-5.10.0-37.4.i586.rpm

    (the slightly older, original 11.0 packages can be found here, for example)

    You'd need to install the entire contents in this particular case. Most of the stuff will install under

    /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0

    so if you rename the remaining files in /usr/bin and /share, the package should peacefully coexist with your existing 5.8.8 perls.

    There's a little gotcha, though. SuSE has changed the internal compression format of their RPMs starting with 11.0, so you won't be able to install/unpack the packages using the old RPM tools from 10.3 — i.e. neither rpm nor rpm2cpio will work.  In other words, you'd first need to get the new RPM tools that come with 11.0  (luckily, it seems they were foresighted enough to use the old compression format for this very RPM package itself...).

    Alternatively, you could consider upgrading to SuSE 11.0 (or maybe 11.1 (currently beta)).

    Or, as a last resort, I could provide a re-packaged tarball (feel free to /msg me privately if all else fails).   Good luck!