Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > DBD::Sybase with FreeTDS on 64-bit linux fix

Reply
Thread Tools

DBD::Sybase with FreeTDS on 64-bit linux fix

 
 
Andrew
Guest
Posts: n/a
 
      08-15-2009
Just wanted to post a rather trivial fix that took me hours of
fruitless googling and tinkering

This symlink fixed the error below, occurring with "DBD::Sybase" usage
in my script (on a Fedora 9):

ln -s /usr/local/freetds/lib/libct.so.4 /usr/lib64/

Note: a symlink at /usr/local/lib64 did NOT help for me.

Not sure if this is the best/cleanest way, but it seems to work. I
would guess that Perl is doing everything correctly, and it is freetds
that doesn't install its shared objects in accordance with (Fedora?)
convention. The gurus here might have more info on this.


perl error:

install_driver(Sybase) failed: Can't load '/usr/local/lib64/perl5/
site_perl/5.10.0/x86_64-linux-thread-multi/auto/DBD/Sybase/Sybase.so'
for module DBD::Sybase: libct.so.4: cannot open shared object file: No
such file or directory at /usr/lib64/perl5/5.10.0/x86_64-linux-thread-
multi/DynaLoader.pm line 203.
at (eval 7) line 3
Compilation failed in require at (eval 7) line 3.
Perhaps a required shared library or dll isn't installed where
expected
at [path-to-script] line [whatever]
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
freetds implementation in Ruby Thiago Morais Ruby 1 04-30-2010 04:45 PM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Perl Misc 21 03-21-2006 07:02 AM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Python 23 03-21-2006 07:02 AM
Xah's Edu Corner: The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee Java 22 03-21-2006 07:02 AM
DBD::Sybase, FreeTDS problem Daniel Berger Perl Misc 1 06-24-2004 06:12 AM



Advertisments