Fellow Monks,

I'm quite certain that I'm missing something obvious here, but I'm afraid that my brain is currently fried :/

Yesterday we had a hard disk failure on one of our key production servers (most of our critical stuff backed-up, thankfully), and for the past 24 hours or so we've been frantically re-building things.

This is a Linux box (Suse 9.3), and one of the things it needs to do is talk to a MS-SQL server. Previously I had this working using DBD::Sybase with the FreeTDS libraries.

So on the rebuilt box I installed and tested FreeTDS, and have it working fine (ie. I can establish a database connection from the command line). I then downloaded, built, and installed DBD::Sybase, which also installed error-free.

However, when I try to use it, this is what I get:

perl -MDBD::Sybase Can't load '/usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi +/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.4: canno +t open shared object file: No such file or directory at /usr/lib64/pe +rl5/5.8.5/x86_64-linux-thread-multi/DynaLoader.pm line 230. at - line 0 Compilation failed in require. BEGIN failed--compilation aborted.

Sybase.so exists...

file /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/D +BD/Sybase/Sybase.so /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi/auto/DBD/Sy +base/Sybase.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 ( +SYSV), not stripped
...but as I said - I'm quite sure I'm overlooking something obvious and fundamental.

Can somebody please tell me what it is?

Many thanks,
Darren


In reply to DBD::Sybase - problem loading shared object by McDarren

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.