I recently upgraded my servier from Fedora Core 2 to Fedora Core 4, and thus the new versions of Apache, mod_perl, and ASP as well. This seems to have broken one of my Perl modules (MdbSQL) that relies on an XS interface to the mdbtools libraries to enable me to read MDB files on my Linux machine.

I can make use of the module from console applications, so I know that MdbSQL.pm and MdbSQL.so files have been generated properly on the new system. From within an ASP page, a call to MdbSQL::new results in no response from the server (request not logged into the access log and no error listed in the error log). If I go into MdbSQL::new and comment out the call to the XS routine then the page loads fine (doesn't work as it is missing the meat of the module, but will at least load and get logged as a request).

So my guess from this result is that the ASP module is not properly loading the MdbSQL.so file. Was there a change in ASP with how the shared libraries for XS modules are loaded? Perhaps a path variable that has not been properly set on my new machine? Any other suggestions on what to look at as a possible cause of this behavior?

Thanks for your help,
DocJon

Update

Note in my reply to a reply that the problem was eventually tracked down to a mis-cast pointer variable in the XS file.

In reply to XS module on Apache ASP by DocJon

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.