HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Building DBD::Oracle == Nightmare
Operating System - Linux
1825576
Members
1953
Online
109682
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-14-2008 09:38 PM
06-14-2008 09:38 PM
Building DBD::Oracle == Nightmare
HP-UX 11.11
Oracle 10.1.0.5
And yes I have ORACLE_HOME and LD_LIBRARY_PATH set
-------------
perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux r3 b.11.11 u 9000800 1909236376 unlimited-user license '
config_args='-Dusedevel -Dcc=gcc -des'
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 ='-mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g -O',
cppflags='-mpa-risc-2-0 -D_HPUX_SOURCE -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include'
ccversion='', gccversion='3.4.3', gccosandvers='hpux11.11'
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='/usr/bin/ld', ldflags ='-L/pro/local/lib'
libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lcrypt -lsec -lc
perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc
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/pro/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_LARGE_FILES
Locally applied patches:
defined-or
Built under hpux
Compiled at Nov 30 2004 08:22:28
@INC:
/opt/perl/lib/5.8.6/PA-RISC2.0
/opt/perl/lib/5.8.6
/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0
/opt/perl/lib/site_perl/5.8.6
/opt/perl/lib/site_perl
.
---------------------------------------------
Here is the error when I run "make test"
Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/lib/DBD/mkta.pl (unchanged)
Skip blib/lib/oraperl.ph (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
Skip blib/lib/Oraperl.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
gcc -c -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" Oracle.c
gcc -c -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" dbdimp.c
dbdimp.c: In function `createxmlfromstring':
dbdimp.c:1020: warning: passing arg 2 of `Perl_sv_2pv_flags' from incompatible pointer type
dbdimp.c: In function `ora_st_execute_array':
dbdimp.c:3269: warning: unused variable `sv2'
gcc -c -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" oci8.c
oci8.c: In function `get_attr_val':
oci8.c:1397: warning: passing arg 8 of `OCIIntervalToText' from incompatible pointer type
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.sl
/usr/bin/ld -Wl,+b"/d20/oracle/product/mbasdb/10.1.0/lib32:/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32" -b -L/pro/local/lib Oracle.o dbdimp.o oci8.o +s +n -L/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32/ -L/d20/oracle/product/mbasdb/10.1.0/lib32/ -lclntsh `cat /d20/oracle/product/mbasdb/10.1.0/lib32/ldflags` -lm -o blib/arch/auto/DBD/Oracle/Oracle.sl
/usr/bin/ld: Unrecognized argument: -Wl,+b/d20/oracle/product/mbasdb/10.1.0/lib32:/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32
/usr/bin/ld: Usage: /usr/bin/ld [options] [flags] files
*** Error exit code 1
Any ideas on what I need to make this work.
Oracle 10.1.0.5
And yes I have ORACLE_HOME and LD_LIBRARY_PATH set
-------------
perl -V
Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
Platform:
osname=hpux, osvers=11.11, archname=PA-RISC2.0
uname='hp-ux r3 b.11.11 u 9000800 1909236376 unlimited-user license '
config_args='-Dusedevel -Dcc=gcc -des'
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 ='-mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-g -O',
cppflags='-mpa-risc-2-0 -D_HPUX_SOURCE -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include'
ccversion='', gccversion='3.4.3', gccosandvers='hpux11.11'
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='/usr/bin/ld', ldflags ='-L/pro/local/lib'
libpth=/pro/local/lib /lib /usr/lib /usr/ccs/lib /usr/local/lib
libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lcrypt -lsec -lc
perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc
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/pro/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: DEBUGGING USE_LARGE_FILES
Locally applied patches:
defined-or
Built under hpux
Compiled at Nov 30 2004 08:22:28
@INC:
/opt/perl/lib/5.8.6/PA-RISC2.0
/opt/perl/lib/5.8.6
/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0
/opt/perl/lib/site_perl/5.8.6
/opt/perl/lib/site_perl
.
---------------------------------------------
Here is the error when I run "make test"
Skip blib/lib/DBD/Oracle.pm (unchanged)
Skip blib/lib/DBD/mkta.pl (unchanged)
Skip blib/lib/oraperl.ph (unchanged)
Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged)
Skip blib/lib/Oraperl.pm (unchanged)
Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged)
Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged)
Skip blib/lib/DBD/Oracle/GetInfo.pm (unchanged)
gcc -c -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" Oracle.c
gcc -c -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" dbdimp.c
dbdimp.c: In function `createxmlfromstring':
dbdimp.c:1020: warning: passing arg 2 of `Perl_sv_2pv_flags' from incompatible pointer type
dbdimp.c: In function `ora_st_execute_array':
dbdimp.c:3269: warning: unused variable `sv2'
gcc -c -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/rdbms/demo -I/d20/oracle/product/mbasdb/10.1.0/rdbms/public -I/d20/oracle/product/mbasdb/10.1.0/plsql/public -I/d20/oracle/product/mbasdb/10.1.0/network/public -I/opt/perl/lib/site_perl/5.8.6/PA-RISC2.0/auto/DBI -mpa-risc-2-0 -D_HPUX_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O -DVERSION=\"1.21\" -DXS_VERSION=\"1.21\" -fPIC "-I/opt/perl/lib/5.8.6/PA-RISC2.0/CORE" -Wall -Wno-comment -DUTF8_SUPPORT -DNEW_OCI_INIT -DORA_OCI_VERSION=\"10.1.0.5\" oci8.c
oci8.c: In function `get_attr_val':
oci8.c:1397: warning: passing arg 8 of `OCIIntervalToText' from incompatible pointer type
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.sl
/usr/bin/ld -Wl,+b"/d20/oracle/product/mbasdb/10.1.0/lib32:/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32" -b -L/pro/local/lib Oracle.o dbdimp.o oci8.o +s +n -L/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32/ -L/d20/oracle/product/mbasdb/10.1.0/lib32/ -lclntsh `cat /d20/oracle/product/mbasdb/10.1.0/lib32/ldflags` -lm -o blib/arch/auto/DBD/Oracle/Oracle.sl
/usr/bin/ld: Unrecognized argument: -Wl,+b/d20/oracle/product/mbasdb/10.1.0/lib32:/d20/oracle/product/mbasdb/10.1.0/rdbms/lib32
/usr/bin/ld: Usage: /usr/bin/ld [options] [flags] files
*** Error exit code 1
Any ideas on what I need to make this work.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
- Tags:
- Perl
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2008 09:59 PM
06-14-2008 09:59 PM
Re: Building DBD::Oracle == Nightmare
ok, i got it. I changed the ld options in the make file form "-Wl,+b" to just "+objdebugonly,". Now it works.
-Patting myself on the back. ;P
-Patting myself on the back. ;P
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2008 10:03 PM
06-14-2008 10:03 PM
Re: Building DBD::Oracle == Nightmare
I found the answer to my issue.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2008 10:07 PM
06-14-2008 10:07 PM
Re: Building DBD::Oracle == Nightmare
The another solution is to change: ld='/usr/bin/ld'
To: ld=gcc
To: ld=gcc
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP