Skip to Content.
Sympa Menu

freetds - [freetds] Problems with DBD::Sybase and freetds on Fedora C2

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Gustavo Buriola - Plugin Internet Corporativa" <gburiola AT plugin.com.br>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Problems with DBD::Sybase and freetds on Fedora C2
  • Date: Thu, 8 Jul 2004 17:21:28 -0300

Hello guys...

We have a few servers running DBD::Sybase and FreeTDS on various RedHat
flavours.

Recently we started using Fedora Core 1 and Core2 but we just couldt
install DBD::Sybase and FreeTDS on it. When I try to run the code below I get
an error message.


------------------------------------------------------------------------------

#!/usr/bin/perl -w
use DBI;
$driver = 'Sybase';
$prefixo = 'server';
$host = 'server.com.br';
$banco = 'bdname';
$user = 'username';
$senha = 'password';
my $dbRadius = DBI->connect("DBI:$driver:database=$banco;$prefixo=$host",
$user , $senha);

# ./test.pl
install_driver(Sybase) failed: Can't load
'/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/DBD/Sybase/Sybase.so'
for module DBD::Sybase: libct.so.2: cannot open shared object file: No such
file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at ./test.pl line 28

------------------------------------------------------------------------------



I'm installing freetds-0.62.4 with the following commands:
./configure
make
make install

and DBD-Sybase-1.04
export SYBASE=/usr/local
perl Makefile.PL
make
make install
We have no problems doing exactly the same steps on RedHat. Have anyone
ever had the same problem with Fedora?

I'm I doing something wrong ? Don't know if that helps, but I'm sending
the result of make test for the DBD below...


Thanks a lot...

Gustavo - Brazil

--------------------------------------------------------------------------------









PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/autocommit....install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/autocommit.t line 24
t/autocommit....dubious
Test returned status 255 (wstat 65280, 0xff00)
Scalar found where operator expected at (eval 152) line 1, near "'int'
$__val"
(Missing operator before $__val?)
DIED. FAILED tests 2-4
Failed 3/4 tests, 25.00% okay
t/base..........install_driver(Sybase) failed: Can't load
'/usr/local/src/perl_modules/DBD-Sybase-1.04/blib/arch/auto/DBD/Sybase/Sybase.so'
for module DBD::Sybase: libct.so.2: cannot open shared object file: No such
file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/base.t line 18
t/base..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/exec..........install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/exec.t line 26
t/exec..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
t/fail..........install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/fail.t line 19
t/fail..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-13
Failed 12/13 tests, 7.69% okay
t/login.........install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/login.t line 21
t/login.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-3
Failed 2/3 tests, 33.33% okay
t/main..........install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/main.t line 30
t/main..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-19
Failed 18/19 tests, 5.26% okay
t/nsql..........install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/nsql.t line 24
t/nsql..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
t/place.........install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/place.t line 21
t/place.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
t/thread........Can't load
'/usr/local/src/perl_modules/DBD-Sybase-1.04/blib/arch/auto/DBD/Sybase/Sybase.so'
for module DBD::Sybase: libct.so.2: cannot open shared object file: No such
file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at t/thread.t line 18
Compilation failed in require at t/thread.t line 18.
BEGIN failed--compilation aborted at t/thread.t line 18.
t/thread........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/xblob.........install_driver(Sybase) failed: Can't load
'blib/arch/auto/DBD/Sybase/Sybase.so' for module DBD::Sybase: libct.so.2:
cannot open shared object file: No such file or directory at
/usr/lib/perl5/5.8.3/i386-linux-thread-multi/DynaLoader.pm line 229.
at (eval 1) line 3
Compilation failed in require at (eval 1) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/xblob.t line 26
t/xblob.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/autocommit.t 255 65280 4 6 150.00% 2-4
t/base.t 255 65280 5 4 80.00% 4-5
t/exec.t 255 65280 9 16 177.78% 2-9
t/fail.t 255 65280 13 24 184.62% 2-13
t/login.t 255 65280 3 4 133.33% 2-3
t/main.t 255 65280 19 36 189.47% 2-19
t/nsql.t 255 65280 6 10 166.67% 2-6
t/place.t 255 65280 11 20 181.82% 2-11
t/thread.t 255 65280 ?? ?? % ??
t/xblob.t 255 65280 6 10 166.67% 2-6
Failed 10/10 test scripts, 0.00% okay. 65/76 subtests failed, 14.47% okay.
make: *** [test_dynamic] Error 255




  • [freetds] Problems with DBD::Sybase and freetds on Fedora C2, Gustavo Buriola - Plugin Internet Corporativa, 07/08/2004

Archive powered by MHonArc 2.6.24.

Top of Page