- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DBD::Oracle Install Problems
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2004 02:46 AM
тАО07-26-2004 02:46 AM
OUTPUT OF perl -V
[root@bdhp4264:/home/aq1764/DBD-Oracle-1.14]
## perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=hpux, osvers=11.00, archname=PA-RISC2.0
uname='hp-ux ness b.11.00 a 9000780 2012209406 two-user license '
config_args='-d -e -Dcc=gcc -Dprefix=/usr/local useposix=true'
hint=recommended, 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='gcc', ccflags ='-D_HPUX_SOURCE -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE',
optimize='-O2',
cppflags='-D_HPUX_SOURCE -D_HPUX_SOURCE -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='3.3.2', 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=4
alignbytes=8, prototype=define
Linker and Libraries:
ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/opt/local/lib'
libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib
libs=-lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm
perllibs=-lnsl -lnm -lmalloc -ldld -lm
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='-b -L/usr/local/lib -L/opt/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under hpux
Compiled at Feb 2 2004 09:09:51
@INC:
/usr/local/lib/perl5/5.8.3/PA-RISC2.0
/usr/local/lib/perl5/5.8.3
/usr/local/lib/perl5/site_perl/5.8.3/PA-RISC2.0
/usr/local/lib/perl5/site_perl/5.8.3
/usr/local/lib/perl5/site_perl
.
*****************************************************
# perl Makefile.PL
Multiple copies of Driver.xst found in: /usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI /usr/local/lib/perl5/site_perl/5.8.3/PA-RISC2.0/auto/DBI at Makefile.PL line 36
Using DBI 1.40 (for perl 5.008003 on PA-RISC2.0) installed in /usr/local/lib/perl5/5.8.3/PA-RISC2.0/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
The ORACLE_HOME environment variable must be set.
It must be set to hold the path to an Oracle installation directory
on this machine (or a machine with a compatible architecture).
See the README.clients file for more information.
ABORTED!
[root@bdhp4264:/home/aq1764/DBD-Oracle-1.14]
# echo $ORACLE_HOME
/opt/oracle/product/9.2.0.4
How can I get around this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2004 03:22 AM
тАО07-26-2004 03:22 AM
Re: DBD::Oracle Install Problems
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2004 03:38 AM
тАО07-26-2004 03:38 AM
Re: DBD::Oracle Install Problems
What's your vesion of DBD::Oracle you want to install?
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2004 05:25 AM
тАО07-26-2004 05:25 AM
Re: DBD::Oracle Install Problems
Why this version ? There is now a more recent version.
Could you send output from
set | grep -e ORA -e NLS
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2004 05:50 AM
тАО07-26-2004 05:50 AM
Re: DBD::Oracle Install Problems
i could not get a shell script to access the value of a parent shell's variable that was not exported (i tried only sh & bash on hpux and linux) so here goes some blah-blah:
----
bash-2.01$ BLAH=blah
bash-2.01$ echo $BLAH
blah
bash-2.01$ cat /tmp/blah
echo $BLAH
bash-2.01$ sh -x /tmp/blah
+ echo
bash-2.01$ bash -x /tmp/blah
+ echo
bash-2.01$ sh
$ echo $BLAH
$ BLAH=blah
$ sh -x /tmp/blah
+ echo
$ bash -x /tmp/blah
+ echo
---
--
ranga
[i work for hpe]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-26-2004 05:57 AM
тАО07-26-2004 05:57 AM
Re: DBD::Oracle Install Problems
# export ORACLE_SID
BUT, I can't imagine that Oracle would work at all when these are not exported.
That said, as Fred said, DBD::Oracle-1.15 is the most recent DBD-Oracle, and DBI-1.43 is newer than 1.40 (at the moment of writing. I expect DBD-Oracle-1.16 pretty soon)
Enjoy, Have FUN! H.merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 01:27 AM
тАО07-27-2004 01:27 AM
Re: DBD::Oracle Install Problems
[root@bdhp4264:/root]
# set | grep -e ORA -e NLS
ORACLE_HOME=/opt/oracle/product/9.2.0.4
ORACLE_SID=dummy101
_=ORACLE_HOME=/opt/oracle/product/9.2.0.4
[root@bdhp4264:/root]
#
I am going to try 1.15 and then we'll see what happens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 01:38 AM
тАО07-27-2004 01:38 AM
Re: DBD::Oracle Install Problems
Here is a snip... but I have attached the entire output as well...
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/base......./usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage: /usr/lib/libpthread.1
/usr/lib/dld.sl: Exec format error
Failed to load Oracle extension and/or shared libraries:
install_driver(Oracle) failed: Can't load '/home/aq1764/DBD-Oracle-1.15/blib/arch/auto/DBD/Oracle/Oracle.sl' for module DBD::Oracle: Exec format error at /usr/local/lib/perl5/5.8.3/PA-RISC2.0/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 19
The remaining tests will probably also fail with the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 01:43 AM
тАО07-27-2004 01:43 AM
SolutionIf all is properly installed, check
# man perlhpux
and then
# perl -V:libs
If that does not have -lcl and -lpthread you're out of luck for Oracle, and you will have to get yourself another Perl binary
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2004 01:54 AM
тАО07-27-2004 01:54 AM
Re: DBD::Oracle Install Problems
# perl -V:libs
libs='-lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm';
[root@bdhp4264:/home/aq1764/DBD-Oracle-1.15]
#
You are right...
So, if new binary needed... you are speaking of new perl install correct? How can I be sure I will have these libs prior to install...