Mi problema es que estoy intentando instalar el módulo extproc_perl-2.51 para poder utilizar scripts en Perl desde PL/SQL, pero al hacer el "make test" me da estos errores:
- Código: Seleccionar todo
DBD::Oracle::st execute failed: ORA-20100: PERL EXTPROC ERROR: Can't load module POSIX, dynamic loading not available in this perl.
(You may need to build a new perl executable which either supports
dynamic loading or has the POSIX module statically linked into it.)
at /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/version/vpp.pm line 49
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/version/vpp.pm line 49.
BEGIN failed--compilation aborted at (eval 12) line 2.
Compilation failed in require at /usr/local/lib/perl5/5.8.8/Text/Balanced.pm line 13.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.8/Text/Balanced.pm line 13.
Compilation failed in require at /usr/local/lib/perl5/site_perl/5.8.8/Parse/RecDescent.pm line 8.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.8.8/Parse/RecDescent.pm line 8.
Compilation failed in require at /home/oracle/extproc_perl-2.51/ExtProc/blib/lib/ExtProc/Code.pm line 26.
BEGIN failed--compilation aborted at /home/oracle/extproc_perl-2.51 (DBD ERROR: error possibly near <*> indicator at char 7 in 'SELECT <*>TestPerl.func('ep_generic_func_noargs') from dual') [for Statement "SELECT TestPerl.func('ep_generic_func_noargs') from dual"] at t/10generic_wrapper.t line 17.
Al instalar Perl lo configuré para que fuera posible la carga dinámica, por lo que no entiendo porqué me da este error.
La salida de 'perl -V' es:
- Código: Seleccionar todo
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.17-1.2142_fc4, archname=i686-linux
uname='linux pc-4-111.uc3m.es 2.6.17-1.2142_fc4 #1 tue jul 11 22:41:14 edt 2006 i686 athlon i386 gnulinux '
config_args=''
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
ccversion='', gccversion='4.0.2 20051125 (Red Hat 4.0.2-8)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.6.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.6'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/local/lib/perl5/5.8.8/i686-linux/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO
Built under linux
Compiled at Dec 13 2007 18:33:01
@INC:
/usr/local/lib/perl5/5.8.8/i686-linux
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/i686-linux
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.
Muchas gracias por todo.