The way your CGI compiled is different than mine, because there is nothing special about the line numbers that you are getting in the error message. When you see stuff like that, it is always helpful to view the appropriate line. With vi, you can always jump straight to it using a command line parameter:      $ vi +346 /usr/lib/perl5/5.6.0/CGI/Carp.pm When dealing with shared libraries, though, make sure that your /etc/ld.so.conf contains the appropriate directories, especially any places where your Oracle driver might have dropped presents, and run ldconfig to apply the changes.

Furthermore, make sure that your Web user (i.e. 'nobody') can read these libraries. The directory might be set to 0750 or something awful that prevents 'other' access to it. As a last resort, track down the missing file with the find command:      $ find / -name 'libclntsh.so.8.0*' Just as a note, rebooting does not usually correct missing file problems. If your filesystem is somehow corrupted, rebooting may force a filesystem check, but this shouldn't have happened in the first place. It might also run 'ldconfig' which can fix the problem for you. As a general practice to "make things work", though, rebooting should be avoided.

In reply to Re: Perl, DBI, Oracle, Apache by tadman
in thread Perl, DBI, Oracle, Apache by BigJoe

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.