shreedara has asked for the wisdom of the Perl Monks concerning the following question:

I have Fedora Linux 4 and perl version 5.8.6. Last week i installed the perl DBD::Sybase module along with freetds and everything was working fine. Recently I have installed Adobe acroread v7 and i had problem in opening PDF files. Adobe screen use to come and disappear. Later seachig website i used the command "yum -y install compat-libstdc++-33" and I could make adobe acroread to work fine. But after this I have problem with DBD::Sybase module. I have a test script which checks the connectivity and code is as below
#! /opt/ActivePerl-5.8/bin/perl # # test the SQL Server database # use DBI ; $user = 'CORETEC\genesis' ; $passwd = 'genesis' ; #$dbh = DBI->connect('DBI:Sybase:server=Tor-sql',$user,$passwd); $dbh = DBI->connect('DBI:Sybase:server=Tor-Sql',$user,$passwd); $dbh->do("use FEE"); $action = $dbh->prepare("sp_help") ; $action->execute ; $rows = $action->rows ; print "rows is $rows\n"; while ( @first = $action->fetchrow_array ) { foreach $field ( @first ) { print "$field\t"; } print "\n"; } exit(0);
when I use the command "perl test_sql2.pl" I am getting the following error message
install_driver(Sybase) failed: Can't load '/usr/lib/perl5/site_perl/5. +8.6/i386-linux-thread-multi/auto/DBD/Sybase/Sybase.so' for module DBD +::Sybase: libct.so.3: cannot open shared object file: No such file or + directory at /usr/lib/perl5/5.8.6/i386-linux-thread-multi/DynaLoader +.pm line 230. at (eval 3) line 3 Compilation failed in require at (eval 3) line 3. Perhaps a required shared library or dll isn't installed where expecte +d at test_sql2.pl line 13

It was working just fine untill i installed the Adobe. So i used the "yum -y install libct.so.3" and still i have the problem
I even tried installing SYBASE version 15 and problem is same. Do i need to install any other to modify the libct.so.3 ? Help me how can i fix this issue ? and make DBD:Sybase to work

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.