Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Cant load 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:


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/' for module CPRClient: /opt/httpd/apps/dev//xxpica/lib/ only ET_DYN and ET_EXEC can be loaded at /opt/httpd/software/perl/5.8.9/lib/5.8.9/x86_64-linux/ line 226., referer:"

However I checked the file version as $ file 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.

  • Comment on Cant load file for perl module- 'only ET_DYN and ET_EXEC can be loaded'

Replies are listed 'Best First'.
Re: Cant load 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/

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

      Thanks a lot.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://989306]
Approved by Ratazong
[Eily]: LanX, let's hope it gets better for the second turn
vrk adds oatmeal cookies to the platter on the sideboard.
[LanX]: evrybody can participate in a YAPC
choroba is still undecided what to present at YAPC
[LanX]: imagine the stock market if the choice for the second round would have been those two ...
[robby_dobby]: LanX: Not me. No YAPC in my country and the only one in Asia is so far off in Japan
[LanX]: Oh I thought "Misery" meant Missoury
[LanX]: where do you live?
[LanX]: YAPC Asia was renamed and you'd need to speak Japanese to be able to follow
[robby_dobby]: LanX: Misery :P

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (12)
As of 2017-04-24 15:55 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (442 votes). Check out past polls.