Are you sure you are using 1.12? What happens when you hack the makefile to remove the -Wl,+z in the makefile?
I have attached my perltree build makefile, which just built everything on HP-UX 11i (DBD-Oracle-1.12) with Oracle 8.1.7. Maybe this is also and Oracle 8.1.6 issue. Aren't your dba's grumbling about oracle's EOL of 8.1.6, and 8.1.7? All, I intend to add this (or a significant chunk of it) as an appendix to the README.hpux. Tim, please let me know before you are about to release the next version (so I can give you the latest version). Lincoln -----Original Message----- From: Stevenson, Jonathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 26, 2002 7:22 AM To: [EMAIL PROTECTED] Subject: Error on make for DBD-Oracle 1.12 on HPUX 11.0 Hi all, I'm having problems getting this to work. I have follows Lincoln's instructions, and recompiled Perl from source using HP's ANSI C compiler, with the specified options: Configure -Ubincompat5005 Additional libraries: prepend -lcl -lpthread ccflags: perpend +z Perl 5.005 binary compatible: no Understand large files: yes. Perl installs OK, as does DBI Set up all the Oracle variables, run perl Makefile.PL Alter the Makefile to set PERL_DL_NONLAZY=1 to PERL_DL_NONLAZY=0 **** We have tried installing with this change and without it on make, we get: ld: Unrecognized argument: -Wl,+s ld: Usage: ld [options] [flags] files *** Error exit code 1 I thought this only occured in DBD-Oracle 1.06 and earlier? I have tried removing the Wl,+s & Wl,+n flags, but then the make test fails, saying Can't shl_load() a library containing Thread Local Storage: /oracle/app/oracle/product/8.1.6/JRE/lib/PA_RISC/native_threads/libjava.sl Any ideas what I can do to get around this? Full make for DBD is: root@uk208:/tmp/perl/DBD-Oracle-1.12> perl Makefile.PL root@uk208:/tmp/perl/DBD-Oracle-1.12> cat Makefile | sed 's/PERL_DL_NONLAZY=1/PERL_DL_NONLAZY=0/g' > Makefile.tmp root@uk208:/tmp/perl/DBD-Oracle-1.12> mv Makefile.tmp Makefile root@uk208:/tmp/perl/DBD-Oracle-1.12> make Skip blib/lib/oraperl.ph (unchanged) Skip blib/lib/DBD/Oracle.pm (unchanged) Skip blib/arch/auto/DBD/Oracle/mk.pm (unchanged) Skip blib/arch/auto/DBD/Oracle/dbdimp.h (unchanged) Skip blib/arch/auto/DBD/Oracle/ocitrace.h (unchanged) Skip blib/arch/auto/DBD/Oracle/Oracle.h (unchanged) Skip blib/lib/Oraperl.pm (unchanged) /usr/bin/perl -I/opt/perl5/lib/5.6.1/PA-RISC2.0 -I/opt/perl5/lib/5.6.1 /opt/perl5/lib/5.6.1/ExtUtils/xsubpp -ty pemap /opt/perl5/lib/5.6.1/ExtUtils/typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c cc -c -I/oracle/app/oracle/product/8.1.6/rdbms/demo -I/oracle/app/oracle/product/8.1.6/rdbms/public -I/oracle/ap p/oracle/product/8.1.6/plsql/public -I/oracle/app/oracle/product/8.1.6/network/public -I/oracle/app/oracle/product/8.1.6 /rdbms/demo -I/oracle/app/oracle/product/8.1.6/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/auto/DBI -D_HPUX_S OURCE +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" +z -I/opt/perl5/ lib/5.6.1/PA-RISC2.0/CORE Oracle.c cc -c -I/oracle/app/oracle/product/8.1.6/rdbms/demo -I/oracle/app/oracle/product/8.1.6/rdbms/public -I/oracle/ap p/oracle/product/8.1.6/plsql/public -I/oracle/app/oracle/product/8.1.6/network/public -I/oracle/app/oracle/product/8.1.6 /rdbms/demo -I/oracle/app/oracle/product/8.1.6/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/auto/DBI -D_HPUX_S OURCE +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" +z -I/opt/perl5/ lib/5.6.1/PA-RISC2.0/CORE dbdimp.c cc -c -I/oracle/app/oracle/product/8.1.6/rdbms/demo -I/oracle/app/oracle/product/8.1.6/rdbms/public -I/oracle/ap p/oracle/product/8.1.6/plsql/public -I/oracle/app/oracle/product/8.1.6/network/public -I/oracle/app/oracle/product/8.1.6 /rdbms/demo -I/oracle/app/oracle/product/8.1.6/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/auto/DBI -D_HPUX_S OURCE +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" +z -I/opt/perl5/ lib/5.6.1/PA-RISC2.0/CORE oci7.c cc -c -I/oracle/app/oracle/product/8.1.6/rdbms/demo -I/oracle/app/oracle/product/8.1.6/rdbms/public -I/oracle/ap p/oracle/product/8.1.6/plsql/public -I/oracle/app/oracle/product/8.1.6/network/public -I/oracle/app/oracle/product/8.1.6 /rdbms/demo -I/oracle/app/oracle/product/8.1.6/rdbms/demo -I/opt/perl5/lib/site_perl/5.6.1/PA-RISC2.0/auto/DBI -D_HPUX_S OURCE +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae -O -DVERSION=\"1.12\" -DXS_VERSION=\"1.12\" +z -I/opt/perl5/ lib/5.6.1/PA-RISC2.0/CORE oci8.c cc: "oci8.c", line 267: warning 604: Pointers are not assignment-compatible. Running Mkbootstrap for DBD::Oracle () chmod 644 Oracle.bs rm -f blib/arch/auto/DBD/Oracle/Oracle.sl LD_RUN_PATH="/oracle/app/oracle/product/8.1.6/lib:/oracle/app/oracle/product /8.1.6/rdbms/lib" ld -b +vnocompatw arnings -L/usr/local/lib Oracle.o dbdimp.o oci7.o oci8.o -L/oracle/app/oracle/product/8.1.6/lib/ -L/oracle/app/oracle /product/8.1.6/rdbms/lib -Wl,+s -Wl,+n /oracle/app/oracle/product/8.1.6/lib/nautab.o /oracle/app/oracle/product /8.1.6/lib/naeet.o /oracle/app/oracle/product/8.1.6/lib/naect.o /oracle/app/oracle/product/8.1.6/lib/naedhs.o `cat /ora cle/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /oracle/app/oracle/product/8.1.6/li b/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lmm -lnls8 -lcore8 -lnls8 -lco re8 -lnls8 `cat /oracle/app/oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lnro8 `cat /oracle/app/ oracle/product/8.1.6/lib/ldflags` -lnsgr8 -lnzjs8 -ln8 -lnl8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -ltrace 8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lclient8 -lvsn8 -lwtc8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lnls8 -lcore8 -lnls8 -lm /oracle/app/oracle/product/8.1.6/rdbms/lib/kpudfo.o `cat /oracle/app/oracle/product/8.1.6/lib/syslibli st` -o blib/arch/auto/DBD/Oracle/Oracle.sl ld: Unrecognized argument: -Wl,+s ld: Usage: ld [options] [flags] files *** Error exit code 1 Stop. Regards, Jon Stevenson IT Applications Development Information Resources, Eagle House, The Ring, Bracknell RG12 1HS, United Kingdom Direct line: +44 (0)1344 746142 Switchboard: +44 (0)1344 746000 Facsimile: +44 (0)1344 746001 Information Resources is the trading name of IRI InfoScan Ltd and IRI Software Ltd. The contents of this message and all attachments have been sent in confidence for the attention of the addressee only. If you are not the intended recipient you are kindly requested to preserve this confidentiality and to advise the sender immediately of the error in transmission.
makefile
Description: Binary data
