locked_user kroy@softech.com has asked for the wisdom of the Perl Monks concerning the following question:
We are using perlxs with C++ code and we are trying to support the Itanium platform. This code works on Solaris, Windows, and non-Itanium HP-UX. In the past we have had problems with HP-UX and the "Exec Format Error", to resolve this we used the '+A' link option to embed the funcions from the standard libraries in our shared library. With Itanium the aCC compiler is no longer supporting the '+A' link option.
My understanding of the "Exec Format Error" is that either our shared library isn't resolving something or it is conflicting something in our perl installation. Unfortunately I cannot determine what it is or how to resolve it. I tried building our shared library as closely as we can to the our perl installation. As well as setting the LD_LIBRARY_PATH to where our shared libraries exist.
How do I resolve this or get more information on what is failing.
Thanks for you time,
Kevin Roy
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to resolve the "Exec Format Error"
by Old_Gray_Bear (Bishop) on Nov 06, 2009 at 15:10 UTC | |
by locked_user kroy@softech.com (Initiate) on Nov 06, 2009 at 17:49 UTC | |
|
Re: How to resolve the "Exec Format Error"
by Anonymous Monk on Nov 06, 2009 at 13:00 UTC | |
by locked_user kroy@softech.com (Initiate) on Nov 06, 2009 at 22:02 UTC | |
|
Re: How to resolve the "Exec Format Error"
by Anonymous Monk on Nov 06, 2009 at 01:25 UTC |