Thanks this works perfectly and solves my problem. I worked on the Postgres and Sybase modules and made the following MYEXTLIB changes:

Postgres
MYEXTLIB => '/usr/lib/libpq.a'
Before
# ldd /opt/company.old/apps/perl/site/lib/auto/DBD/Pg/Pg.so libpq.so.3 => /usr/lib/libpq.so.3 (0x007cc000) libc.so.6 => /lib/tls/libc.so.6 (0x00ce2000) libssl.so.4 => /lib/libssl.so.4 (0x00111000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x00e82000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00843000) libcom_err.so.2 => /lib/libcom_err.so.2 (0x00217000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x00aa2000) libresolv.so.2 => /lib/libresolv.so.2 (0x00145000) libnsl.so.1 => /lib/libnsl.so.1 (0x004d2000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00189000) /lib/ld-linux.so.2 (0x0041b000) libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x002f500 +0) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00c33000) libdl.so.2 => /lib/libdl.so.2 (0x00b86000) libz.so.1 => /usr/lib/libz.so.1 (0x00158000)
After
# ldd /opt/company/apps/perl/site/lib/auto/DBD/Pg/Pg.so libc.so.6 => /lib/tls/libc.so.6 (0x00cee000) /lib/ld-linux.so.2 (0x0041b000)
Sybase
MYEXTLIB => '/opt/company/apps/freetds/lib/libct.a /opt/company/apps/f +reetds/lib/libtds.a'
Before
# ldd /opt/company.old/apps/perl/site/lib/auto/DBD/Sybase/Sybase.so libct.so.4 => /opt/company.old/apps/freetds/lib/libct.so.4 (0x +004cd000) libtds.so.5 => /opt/company.old/apps/freetds/lib/libtds.so.5 ( +0x00353000) libdl.so.2 => /lib/libdl.so.2 (0x00c24000) libm.so.6 => /lib/tls/libm.so.6 (0x00ccc000) libc.so.6 => /lib/tls/libc.so.6 (0x00111000) /lib/ld-linux.so.2 (0x0041b000)
After
# ldd /opt/company/apps/perl/site/lib/auto/DBD/Sybase/Sybase.so libc.so.6 => /lib/tls/libc.so.6 (0x00880000) /lib/ld-linux.so.2 (0x0041b000)

In reply to Re^2: Real Static Modules by gent
in thread Real Static Modules by Anonymous Monk

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.