- Código: Seleccionar todo
make[1]: se ingresa al directorio `/home/inst1/sqllib/DBD-DB2-1.6/Constants'
make[1]: se sale del directorio `/home/inst1/sqllib/DBD-DB2-1.6/Constants'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base....install_driver(DB2) failed: Can't load '/home/inst1/sqllib/DBD-DB2-1.6/blib/arch/auto/DBD/DB2/DB2.so' for module DBD::DB2: libdb2.so.1: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio at /usr/lib64/perl5/5.8.8/x86_64-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 16
t/base....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/main....ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/base.t 2 512 5 4 80.00% 4-5
Failed 1/2 test scripts, 50.00% okay. 2/6 subtests failed, 66.67% okay.
make: *** [test_dynamic] Error 255
el "make install" arroja este mensaje:
- Código: Seleccionar todo
make[1]: se ingresa al directorio `/home/inst1/sqllib/DBD-DB2-1.6/Constants'
make[1]: se sale del directorio `/home/inst1/sqllib/DBD-DB2-1.6/Constants'
Manifying blib/man3/Bundle::DBD::DB2.3pm
Manifying blib/man3/DBD::DB2.3pm
Installing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/DB2/DB2.so
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Writing /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/DB2/.packlist
Appending installation info to /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
mira, a fin de cuentas no me ejecuta mi archivo que es lo que realmente me interesa. El error es el siguiente: (o mensajes)
- Código: Seleccionar todo
Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/DB2/DB2.so' for module DBD::DB2: libdb2.so.1: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230.
at dbddb2.pl line 4
Compilation failed in require at dbddb2.pl line 4.
BEGIN failed--compilation aborted at dbddb2.pl line 4.
y el archivo es este:
Using perl Syntax Highlighting
use DBI;
use DBD::DB2;
my $string = "dbi:DB2:DATABASE=ICMSDSDB; HOSTNAME=192.1.1.1; PORT=50001; PROTOCOL=TCPIP; UID=icmadmin; PWD=*******;";
my $dbh = DBI->connect($string, icmadmin, ******) || die "Connection failed with error: $DBI::errstr";
use DBD::DB2;
my $string = "dbi:DB2:DATABASE=ICMSDSDB; HOSTNAME=192.1.1.1; PORT=50001; PROTOCOL=TCPIP; UID=icmadmin; PWD=*******;";
my $dbh = DBI->connect($string, icmadmin, ******) || die "Connection failed with error: $DBI::errstr";
Coloreado en 0.007 segundos, usando GeSHi 1.0.8.4