Estimados, saludos a todos.
Nuevamente al ataque. Mi jefe, me ha planteado que conecte a una base de datos
en SQL Server, con DBD::Sybase. Esto es para usar dicha bilbioteca, en un
programa que he realizado en Perl. Ya tengo instalado el FreeTDS.
Instalando DBD::Sybase, al hacer perl Makefile.PL me aparece pidiendo un
servidor Sybase a conectarse, el user, el password y base de de datos a la que
conectarse
Agrego todos esos datos, que en realidad, son del SQL Server. Pero me aparecen
una serie de errores, al hacer make test, me da la siguiente lista, que no
capto de donde agarrarme. Puede que sea por los datos que ingreso de Servidor
en el Makefile.PL, pero no tengo idea de cómo solucionarlo. LEs mando lo que me
arroja el make test.
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/autocommit....
# Failed test 'use DBD::Sybase;'
# in t/autocommit.t at line 18.
# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/autocommit.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Undefined subroutine &DBD::Sybase::db::_login called at blib/lib/DBD/Sybase.pm
line 90.
# Looks like you planned 9 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/autocommit....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-9
Failed 8/9 tests, 11.11% okay
t/base..........install_driver(Sybase) failed: Can't load
'/y/build/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/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 expected
at t/base.t line 18
t/base..........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/exec..........
# Failed test 'use DBD::Sybase;'
# in t/exec.t at line 18.
# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/exec.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Undefined subroutine &DBD::Sybase::db::_login called at blib/lib/DBD/Sybase.pm
line 90.
# Looks like you planned 22 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/exec..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-22
Failed 21/22 tests, 4.55% okay
t/fail..........
# Failed test 'use DBD::Sybase;'
# in t/fail.t at line 16.
# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/fail.t line 16.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Undefined subroutine &DBD::Sybase::db::_login called at blib/lib/DBD/Sybase.pm
line 90.
# Looks like you planned 12 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/fail..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-12
Failed 11/12 tests, 8.33% okay
t/login.........
# Failed test 'use DBD::Sybase;'
# in t/login.t at line 18.
# Tried to use 'DBD::Sybase'.
# Error: Can't load 'blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/login.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Undefined subroutine &DBD::Sybase::db::_login called at blib/lib/DBD/Sybase.pm
line 90.
# Looks like you planned 6 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/login.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-6
Failed 5/6 tests, 16.67% okay
t/main..........NOK 2
# Failed test 'use DBD::Sybase;'
# in t/main.t at line 18.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/y/build/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/main.t line 18.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Undefined subroutine &DBD::Sybase::db::_login called at
/y/build/DBD-Sybase-1.08/blib/lib/DBD/Sybase.pm line 90.
# Looks like you planned 34 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/main..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-34
Failed 33/34 tests, 2.94% okay
t/multi_sth.....ok 1/43
# Failed test 'use DBD::Sybase;'
# in t/multi_sth.t at line 16.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/y/build/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/multi_sth.t line 16.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Undefined subroutine &DBD::Sybase::db::_login called at
/y/build/DBD-Sybase-1.08/blib/lib/DBD/Sybase.pm line 90.
# Looks like you planned 43 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/multi_sth.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-43
Failed 42/43 tests, 2.33% okay
t/nsql..........
# Failed test 'use DBD::Sybase;'
# in t/nsql.t at line 15.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/y/build/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/nsql.t line 15.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Undefined subroutine &DBD::Sybase::db::_login called at
/y/build/DBD-Sybase-1.08/blib/lib/DBD/Sybase.pm line 90.
# Looks like you planned 7 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/nsql..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-7
Failed 6/7 tests, 14.29% okay
t/place.........install_driver(Sybase) failed: Can't load
'/y/build/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 6) line 3
Compilation failed in require at (eval 6) line 3.
Perhaps a required shared library or dll isn't installed where expected
at t/place.t line 18
# Looks like your test died before it could output anything.
t/place.........dubious
Test returned status 255 (wstat 65280, 0xff00)
t/thread........Can't load
'/y/build/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
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 2 (wstat 512, 0x200)
t/xblk..........
# Failed test 'use DBD::Sybase;'
# in t/xblk.t at line 15.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/y/build/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/xblk.t line 15.
Can't locate auto/DBD/Sybase/set_cslib_c.al in @INC (@INC contains: t
/y/build/DBD-Sybase-1.08/blib/lib /y/build/DBD-Sybase-1.08/blib/arch
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 .) at
t/xblk.t line 36
# Looks like you planned 62 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/xblk..........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-62
Failed 61/62 tests, 1.61% okay
t/xblob.........NOK 2
# Failed test 'use DBD::Sybase;'
# in t/xblob.t at line 16.
# Tried to use 'DBD::Sybase'.
# Error: Can't load
'/y/build/DBD-Sybase-1.08/blib/arch/auto/DBD/Sybase/Sybase.so' for module
DBD::Sybase: libct.so.4: no se puede abrir el fichero del objeto compartido: No
existe el fichero o el directorio at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
# at (eval 6) line 2
# Compilation failed in require at (eval 6) line 2.
# BEGIN failed--compilation aborted at t/xblob.t line 16.
Had to create DBD::Sybase::dr::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1212.
Had to create DBD::Sybase::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1242.
Undefined subroutine &DBD::Sybase::db::_login called at
/y/build/DBD-Sybase-1.08/blib/lib/DBD/Sybase.pm line 90.
# Looks like you planned 11 tests but only ran 2.
# Looks like you failed 1 test of 2 run.
# Looks like your test died just after 2.
t/xblob.........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-11
Failed 10/11 tests, 9.09% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/autocommit.t 255 65280 9 15 166.67% 2-9
t/base.t 2 512 5 4 80.00% 4-5
t/exec.t 255 65280 22 41 186.36% 2-22
t/fail.t 255 65280 12 21 175.00% 2-12
t/login.t 255 65280 6 9 150.00% 2-6
t/main.t 255 65280 34 65 191.18% 2-34
t/multi_sth.t 255 65280 43 83 193.02% 2-43
t/nsql.t 255 65280 7 11 157.14% 2-7
t/place.t 255 65280 ?? ?? % ??
t/thread.t 2 512 ?? ?? % ??
t/xblk.t 255 65280 62 121 195.16% 2-62
t/xblob.t 255 65280 11 19 172.73% 2-11
Failed 12/12 test scripts, 0.00% okay. 199/211 subtests failed, 5.69% okay.
make: *** [test_dynamic] Error 255
Saludos desde Chile.....
All we are saying is give peace a chance
______________________________________________
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
_______________________________________________
Cancelar suscripción
https://listas.softwarelibre.cu/mailman/listinfo/linux-l
Buscar en el archivo
http://listas.softwarelibre.cu/buscar/linux-l