A compulsion of LD_PRELOAD on HP platform only and not on other unix flavors (AIX,Linux, and Solaris).
I built Perl Module XML::LibXML::Common on all of Unix flavors.I had to specifically do LD_PRELOAD for libcl.2 library on HP Platform only. While on other unix platforms nothing as such was required.
Is this an OS behaviour or something really missing in HP loader/compiler?
I was running a perl script which simply creates a new object of "XML::LibXML::SAX"
use XML::LibXML::SAX;
$x = XML::LibXML::SAX->new();
and it complained for
Can't load 'site_perl/5.8.8/PA-RISC2.0-thread-multi/auto/XML/LibXML/Common/Common.sl' for module XML::LibXML::Common: Exec format error
and when i do the LD_PRELOAD for libcl.2 the error goes away and the Perl is built for a multi threaded support.