Hello Monks,I am new to perlmonks and struggling with my apache webserver.

The htdocs of apache has ehmtl pages and perl scripts. I am able to launch the webserver with html pages. But getting below error while browsing ehtml pages.

[Thu Oct 20 09:45:37 2016] [error] Can't locate loadable object for mo +dule HTML::Embperl in @INC (@INC contains: /usr/local/lib64/perl5 /us +r/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/ven +dor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/web/cgi-bin/emb +pcgi.pl line 18, referer: [Thu Oct 20 09:45:37 2016] [error] Compilation failed in require at / +opt/web/cgi-bin/embpcgi.pl line 18., referer: [Thu Oct 20 09:45:37 2016] [error] BEGIN failed--compilation aborted +at /opt/web/cgi-bin/embpcgi.pl line 18., referer: [Thu Oct 20 09:45:37 2016] [error] Premature end of script headers: e +mbpcgi.pl, referer:

It seems my embpcgi.pl is not able load perl modules.

Any help would be highly appreciated.thanks in advance

(edited for formatting by erzuuli)


In reply to Can't locate loadable object for module HTML::Embperl in @INC by tushar_linux

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.