Can't locate loadable object for module DBI in @INC

P

prog4ever

i ran into this problem with dbi 1.42, on hp-ux 11.11 , perl 5.8.0 .
Below is the log file from the installation process.

can anyone advise on how i can resolve this issue? thanks.
==========================================================================
Script started on Wed May 26 15:52:24 2004
[root@oberon:/apps11/src/DBI-1.42]# perl Makefile.PL

*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.

Creating extra DBI::purePerl test: t/zz_01basics_pp.t
Creating extra DBI::purePerl test: t/zz_02dbidrv_pp.t
Creating extra DBI::purePerl test: t/zz_03handle_pp.t
Creating extra DBI::purePerl test: t/zz_04mods_pp.t
Creating extra DBI::purePerl test: t/zz_05thrclone_pp.t (use threads)
Creating extra DBI::purePerl test: t/zz_06attrs_pp.t
Creating extra DBI::purePerl test: t/zz_07kids_pp.t
Creating extra DBI::purePerl test: t/zz_08keeperr_pp.t
Creating extra DBI::purePerl test: t/zz_09trace_pp.t
Creating extra DBI::purePerl test: t/zz_10examp_pp.t
Creating extra DBI::purePerl test: t/zz_15array_pp.t
Creating extra DBI::purePerl test: t/zz_20meta_pp.t
Creating extra DBI::purePerl test: t/zz_30subclass_pp.t
Creating extra DBI::purePerl test: t/zz_40profile_pp.t
Creating extra DBI::purePerl test: t/zz_41prof_dump_pp.t
Creating extra DBI::purePerl test: t/zz_42prof_data_pp.t
Creating extra DBI::purePerl test: t/zz_50dbm_pp.t
Creating extra DBI::purePerl test: t/zz_60preparse_pp.t
Creating extra DBI::purePerl test: t/zz_80proxy_pp.t
Checking if your kit is complete...
Looks good

I see you're using perl 5.008 on PA-RISC1.1-thread-multi, okay.
Remember to actually *read* the README file!
Use 'make' to build the software (dmake or nmake on Windows).
Then 'make test' to execute self tests.
Then 'make install' to install the DBI and then delete this
working
directory before unpacking and building any DBD::* drivers.

Writing Makefile for DBI
[root@oberon:/apps11/src/DBI-1.42]# make
cp Changes blib/lib/DBI/Changes.pm
cp dbivport.h blib/arch/auto/DBI/dbivport.h
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/DBD/Proxy.pm blib/lib/DBD/Proxy.pm
cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm cp
lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm cp
lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm cp lib/Bundle/DBI.pm
blib/lib/Bundle/DBI.pm cp lib/DBI/Const/GetInfo/ODBC.pm
blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBI/ProfileDumper/Apache.pm
blib/lib/DBI/ProfileDumper/Apache.pm
cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBD/File.pm blib/lib/DBD/File.pm
cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
/opt/perl/bin/perl -p -e "s/~DRIVER~/Perl/g"
blib/arch/auto/DBI/Driver.xst > Perl.xsi
/opt/perl/bin/perl /opt/perl/lib/5.8.0/ExtUtils/xsubpp -typemap
/opt/perl/lib/5.8.0/ExtUtils/typemap -typemap typemap Perl.xs >
Perl.xsc && mv Perl.xsc Perl.c
gcc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC
-mpa-risc-1-1 -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\"
-fPIC "-I/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi/CORE" -Wall
-Wno-comment Perl.c
/opt/perl/bin/perl /opt/perl/lib/5.8.0/ExtUtils/xsubpp -typemap
/opt/perl/lib/5.8.0/ExtUtils/typemap -typemap typemap DBI.xs >
DBI.xsc && mv DBI.xsc DBI.c
gcc -c -D_POSIX_C_SOURCE=199506L -D_REENTRANT -D_HPUX_SOURCE -fPIC
-mpa-risc-1-1 -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\"
-fPIC "-I/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi/CORE" -Wall
-Wno-comment DBI.c
DBI.xs: In function `dbih_clearcom':
DBI.xs:1128: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_fbav':
DBI.xs:1265: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_set_attr_k':
DBI.xs:1436: warning: unused variable `Perl___notused'
DBI.xs:1345: warning: unused variable `Perl___notused'
DBI.xs: In function `dbih_get_attr_k':
DBI.xs:1574: warning: unused variable `Perl___notused'
DBI.xs: In function `log_where':
DBI.xs:1986: warning: unused variable `Perl___notused'
DBI.xs: In function `XS_DBI_dispatch':
DBI.xs:2807: warning: unused variable `Perl___notused'
Running Mkbootstrap for DBI ()
chmod 644 DBI.bs
rm -f blib/arch/auto/DBI/DBI.sl
LD_RUN_PATH="" gcc -shared -static-libgcc -fPIC DBI.o -o
blib/arch/auto/DBI/DBI.sl
chmod 755 blib/arch/auto/DBI/DBI.sl
cp DBI.bs blib/arch/auto/DBI/DBI.bs
chmod 644 blib/arch/auto/DBI/DBI.bs
/opt/perl/bin/perl "-Iblib/arch" "-Iblib/lib" dbiprof.PL dbiprof
Extracted dbiprof from dbiprof.PL with variable substitutions.
cp dbiprof blib/script/dbiprof
/opt/perl/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/dbiprof
/opt/perl/bin/perl "-Iblib/arch" "-Iblib/lib" dbiproxy.PL dbiproxy
Extracted dbiproxy from dbiproxy.PL with variable substitutions.
cp dbiproxy blib/script/dbiproxy
/opt/perl/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/dbiproxy Manifying blib/man3/DBI::FAQ.3 Manifying
blib/man1/dbiproxy.1 Manifying blib/man3/DBI::SQL::Nano.3 Manifying
blib/man3/DBD::proxy.3 Manifying blib/man3/DBI::Const::GetInfo::ANSI.3
Manifying blib/man3/DBD::DBM.3
Manifying blib/man3/DBI.3
Manifying blib/man3/DBI::Const::GetInfoReturn.3
Manifying blib/man3/DBD::Sponge.3
Manifying blib/man1/dbiprof.1
Manifying blib/man3/DBI::Const::GetInfoType.3
Manifying blib/man3/DBI::W32ODBC.3
Manifying blib/man3/DBI::DBD::Metadata.3
Manifying blib/man3/DBI::Const::GetInfo::ODBC.3
Manifying blib/man3/DBI::profileDumper::Apache.3
Manifying blib/man3/Bundle::DBI.3
Manifying blib/man3/DBI::profile.3
Manifying blib/man3/DBI::profileDumper.3
Manifying blib/man3/DBD::File.3
Manifying blib/man3/DBI::proxyServer.3
Manifying blib/man3/DBI::DBD.3
Manifying blib/man3/Win32::DBIODBC.3
Manifying blib/man3/DBI::purePerl.3
Manifying blib/man3/DBI::profileData.3
[root@oberon:/apps11/src/DBI-1.42]# make test
PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
[root@oberon:/apps11/src/DBI-1.42]# make install Installing
/opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto/DBI/dbd_xsh.h
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto/DBI/Driver_xst.h
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto/DBI/DBIXS.h
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto/DBI/Driver.xst
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto/DBI/dbi_sql.h
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/auto/DBI/DBI.sl
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/DBI.pm
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/DBD/Sponge.pm
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/DBD/NullP.pm
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/DBD/ExampleP.pm
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/DBI/Changes.pm
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/DBI/DBD.pm
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/DBI/PurePerl.pm
Installing /opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi/DBI/DBD/Metadata.pm
Installing /opt/perl/man/man1/dbiproxy.1
Installing /opt/perl/man/man3/DBI.3
Installing /opt/perl/man/man3/DBD::Sponge.3
Installing /opt/perl/man/man3/DBI::DBD::Metadata.3
Installing /opt/perl/man/man3/DBI::DBD.3
Installing /opt/perl/man/man3/DBI::purePerl.3
Installing /opt/perl/bin/dbiproxy
Appending installation info to
/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi/perllocal.pod
[root@oberon:/apps11/src/DBI-1.42]# make test
PERL_DL_NONLAZY=1 /opt/perl/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

# perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0)
configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC1.1-thread-multi
uname='hp-ux bertha b.11.00 u 9000800 136901587 unlimited-user
license '
config_args='-des -Dcc=gcc -Dcf_by=ActiveState
[email protected] -Uinstallusrbinperl
-Ud_sigsetjmp -Dusethreads -Duseithreads -Ulocincpth= -Uloclibpth=
-Accflags=-fPIC -Dd_attribut=undef -Dcccdlflags=-fPIC
-Darchname=PA-RISC1.1 -Duselargefiles -Accflags=-mpa-risc-1-1
-Dprefix=/opt/perl -Duselargefiles'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_POSIX_C_SOURCE=199506L -D_REENTRANT
-D_HPUX_SOURCE -fPIC -mpa-risc-1-1 -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O',
cppflags='-D_HPUX_SOURCE -D_POSIX_C_SOURCE=199506L -D_REENTRANT
-D_HPUX_SOURCE -fPIC -mpa-risc-1-1 -fno-strict-aliasing'
ccversion='', gccversion='3.2 20020708 (experimental)',
gccosandvers='hpux11.00'
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lnsl -lnm -lndbm -lmalloc -ldld -lm -lndir -lcrypt -lsec
-lpthread
perllibs=-lnsl -lnm -lmalloc -ldld -lm -lndir -lcrypt -lsec
-lpthread
libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E
-Wl,-B,deferred '
cccdlflags='-fPIC', lddlflags='-shared -static-libgcc -fPIC'


Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES
PERL_IMPLICIT_CONTEXT
Locally applied patches:
ActivePerl Build 806
Built under hpux
Compiled at May 2 2003 21:44:05
@INC:
/opt/perl/lib/5.8.0/PA-RISC1.1-thread-multi
/opt/perl/lib/5.8.0
/opt/perl/lib/site_perl/5.8.0/PA-RISC1.1-thread-multi
/opt/perl/lib/site_perl/5.8.0
/opt/perl/lib/site_perl
 
M

Matt Garrish

prog4ever said:
i ran into this problem with dbi 1.42, on hp-ux 11.11 , perl 5.8.0 .
Below is the log file from the installation process.

can anyone advise on how i can resolve this issue? thanks.

You didn't read the readme, did you?

Please don't post problems to comp.lang.perl.* or perl5-porters.
This software is supported via the dbi-users mailing list. For more
information and to keep informed about progress you can join the
mailing list via mailto:[email protected]

I would suggest googling for an answer before posting there, though.

Matt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top