Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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'

Replies are listed 'Best First'.
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?
[marto]: good morning all
[Corion]: Hi marto!
[Corion]: I hope all is well marto! ;) My godson had a surprise visit to the hospital yesterday because he fell and had cut his skin besides his eye, but everything was glued together again and all is well
[marto]: good grief, that's not fun, glad to hear all is as well as could be :)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2016-12-08 09:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (137 votes). Check out past polls.