MidLifeXis has asked for the wisdom of the Perl Monks concerning the following question:
Loading a 32-bit library via DynaLoader into 64-bit Perl 5.8.8 on HP-UX 11i appears to be difficult, at least with a library from one of my vendors. I am getting a generic DynaLoader message, that when running under the debugger turns out being a "Bad magic number" message, which I am assuming is indicative of trying to load a 32-bit library into a 64-bit perl.
The vendor does not have a 64-bit version of the library available (although they have "certified" the application to run under 64-bit HP-UX 11i). I have applied appropriate pressure, but, as is typical with this vendor, the solution will be a long time coming.
I guess I am looking for build flag advice or possible tips on getting the vendor's library to load. Perl is compiled with HP's hp-gcc64-3.4.5 distribution. If I do need to revert to a 32 bit version of gcc, then so be it, but I would rather not.
Any ideas?
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Loading a 32-bit library via DynaLoader into 64-bit Perl 5.8.8 on HP-UX 11i
by almut (Canon) on Jan 31, 2007 at 02:34 UTC | |
by MidLifeXis (Monsignor) on Jan 31, 2007 at 19:19 UTC | |
|
Re: Loading a 32-bit library via DynaLoader into 64-bit Perl 5.8.8 on HP-UX 11i
by Tux (Canon) on Jul 12, 2007 at 06:32 UTC |