Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Cant load CPRClient.so file for perl module- 'only ET_DYN and ET_EXEC can be loaded'

by klohare (Initiate)
on Aug 23, 2012 at 12:29 UTC ( #989306=perlquestion: print w/ replies, xml ) Need Help??
klohare has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

Can anyone please give the cause of the below issue

I have one PERL application,from the .pm file, accessing one .so file and giving below error as

"Can't load '/opt/httpd/apps/dev//xxpica/lib/CPRClient.so' for module CPRClient: /opt/httpd/apps/dev//xxpica/lib/CPRClient.so: only ET_DYN and ET_EXEC can be loaded at /opt/httpd/software/perl/5.8.9/lib/5.8.9/x86_64-linux/DynaLoader.pm line 226., referer: http://www-dev3.cisco.com/cgi-bin/front.x/pica/list_pica_contracts.pl"

However I checked the CPRClient.so file version as $ file CPRClient.so CPRClient.so: ELF 64-bit LSB relocatable, AMD x86-64, version 1 (SYSV), not stripped

But dont know what is mean by 'only ET_DYN and ET_EXEC can be loaded' from above error message.

Can anyone please help in this,your help is appreciated.

Thanks
Kishor

Comment on Cant load CPRClient.so file for perl module- 'only ET_DYN and ET_EXEC can be loaded'
Re: Cant load CPRClient.so file for perl module- 'only ET_DYN and ET_EXEC can be loaded'
by Anonymous Monk on Aug 23, 2012 at 12:39 UTC

    Run ldd -v /opt/httpd/apps/dev/xxpica/lib/CPRClient.so

    and then adjust your LD_LIBRARY_PATH accordingly (or recompile CPRClient and/or its dependencies)

      Thanks a lot.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://989306]
Approved by Ratazong
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-08-29 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls