Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2024-04-23 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found