|
|
| laziness, impatience, and hubris | |
| PerlMonks |
How to resolve the "Exec Format Error"by kroy@softech.com (Initiate) |
Log inCreate a new userThe Monastery GatesSuper Search Seekers of Perl WisdomMeditationsPerlMonks Discussion ObfuscationReviewsCool Uses For PerlPerl NewsQ&ATutorials PoetryRecent ThreadsNewest NodesDonateWhat's New |
| on Nov 06, 2009 at 00:37 UTC ( #805367=perlquestion: print w/ replies, xml ) | Need Help?? |
|
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
|
|
||||||||||||