Although not dependent on the system Perl, this approach
essentially has the same problems with XS modules that are linked
against system libraries.
For example, take Net::SSLeay. The XS shared lib ".../Net/SSLeay/SSLeay.so" that
directly belongs to the module is typically in turn linked against system
libraries, such as /usr/lib/libssl.so.0.9.8, which implement the
real functionality (the SSLeay.so is just the binding/wrapper).
As those system libs are located externally of the local lib tree that
you packaged up, you'll run into exactly the same problems, in case some
system upgrade should've messed with those libs...
The only way around such issues is to either
- link the binding statically against a ".a" version of the respective system libs
(suitable for advanced users only — in any case definitely not the default)
- package up the (tested) system libs together with the Perl stuff, and
hard-code the dynamic library search path (to your local lib dir) into
the shared object of the XS binding (also not the default)
- as (2), but mess with LD_LIBRARY_PATH, or similar, at runtime
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.