I am working with a Linux box which has the latest IBM HTTP Server (v7.0) installed on it which is based off Apache 2.x. When I attempted to load mod_perl-2.0.4 via CPAN I got the following errors:
/usr/IBM/HTTPServer/bin/httpd: error while loading shared libraries: l +ibaprutil-1.so.0: cannot open shared object file: No such file or dir +ectory /usr/IBM/HTTPServer/bin/httpd: error while loading shared libraries: l +ibaprutil-1.so.0: cannot open shared object file: No such file or dir +ectory /usr/IBM/HTTPServer/bin/httpd: error while loading shared libraries: l +ibaprutil-1.so.0: cannot open shared object file: No such file or dir +ectory [ error] You are using mod_perl response handlers [ error] but do not have a mod_perl capable Apache. +--------------------------------------------------------+ | Please file a bug report: http://perl.apache.org/bugs/ | +--------------------------------------------------------+ make: *** [run_tests] Error 1 GOZER/mod_perl-2.0.4.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports GOZER/mod_perl-2.0.4.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: GOZER/mod_perl-2.0.4.tar.gz : make_test NO
I did a quick search on the missing libraries and got
# find . -name httpd ./usr/lib64/httpd ./usr/IBM/HTTPServer/bin/httpd ./usr/lib/httpd ./etc/httpd ./var/log/httpd # pwd / [root@racmqa /]# find . -name 'libaprutil-1.*' ./usr/lib64/libaprutil-1.so.0 ./usr/lib64/libaprutil-1.so.0.2.7 ./usr/lib64/libaprutil-1.la ./usr/lib64/libaprutil-1.so ./usr/IBM/HTTPServer/lib/libaprutil-1.so.0.2.12 ./usr/IBM/HTTPServer/lib/libaprutil-1.so.0 ./usr/IBM/HTTPServer/lib/libaprutil-1.la ./usr/IBM/HTTPServer/lib/libaprutil-1.so #
So, I know the libraries are there, just not where mod_perl is looking for them. How do I direct the install towards those directories?

In reply to mod_perl install with IBM HTTP server issues by ARiccela

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.