Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Accessing sql server from perl using dblib/ctlib and freetds

by Anonyrnous Monk (Hermit)
on Dec 20, 2010 at 16:37 UTC ( [id://878050]=note: print w/replies, xml ) Need Help??


in reply to Re: Accessing sql server from perl using dblib/ctlib and freetds
in thread Accessing sql server from perl using dblib/ctlib and freetds

Most likely, yes, you'll need to recompile them. There's a remote chance it might not be required — this would be under the following circumstances:

  • the FreeTDS libs are 100% interface (API) and binary (ABI) compatible with the Sybase libs, i.e. a drop-in replacement (not sure if this is the case)
  • the new libs are actually found at runtime (e.g. via appropriate LD_LIBRARY_PATH settings)

You can always check with ldd which dependent libraries are being pulled in (if any) by your old DBlib.so and CTlib.so. Make sure you call it from within the right environment.

Replies are listed 'Best First'.
Re^3: Accessing sql server from perl using dblib/ctlib and freetds
by Anonymous Monk on Dec 21, 2010 at 19:02 UTC
    Thanks again Anonyrnous Monk. Yes, I ended up recompiling the DBlib.so and CTlib.so. The 'ldd' showed that it was pointing to the Sybase libs

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://878050]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-04-16 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found