Attention Tim Bunce:
I am having trouble making DBD:Oracle using Oracle 9.x in 64 bit with a 'libclntsh.so:
wrong ELF class: ELFCLASS64'. I have found a good many articles on the mailing list
and other places on the web about others having the same problem. From all I have
found, it requires making a 32bit version, which requires editing the Makefile. Since
you say you SHOULDN'T do that, is there a possibility that there will be a new version
of the Makefile.PL in the near future which will do a good install for Oracle 9.x?
Here are my problems. Anyone else on the list is welcome to answer this part and tell
me how to get this to make.
I am also getting some gcc compiler errors which are effecting the compile, namely
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
(The -x03 also causes a problem if I take out the -xdepend)
I have been able to get around this problem by taking out the options from the
Makefile completely.
Another problem happening in the make is the duplication of the -o option. See the
below make after the redo for 'warning: option -o appears more than once, first
setting taken'. Since I am not sure how this problem is created, I don't know how to
correct it.
I am including the stuff below which you recommend for a problem. I redid the make
also after a remove of those 2 compiler options. My commands will be within #'s.
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=solaris, osvers=2.9, archname=sun4-solaris-64int
uname='sunos localhost 5.9 sun4u sparc sunw,ultra-1'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
Compiler:
cc='gcc', ccflags ='-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-xO3 -xdepend',
cppflags=''
ccversion='Sun WorkShop', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, usemymalloc=n, prototype=define
Linker and Libraries:
ld='gcc', ldflags =''
libpth=/lib /usr/lib /usr/ccs/lib
libs=-lsocket -lnsl -ldl -lm -lc
perllibs=-lsocket -lnsl -ldl -lm -lc
libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R
/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE'
cccdlflags='-KPIC', lddlflags='-G'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
Locally applied patches:
9676 Port the OpenBSD glob() security patch
9678 Addendum to #9676: some missing changes from OpenBSD glob.c
9679 Up $File::Glob::VERSION, add OpenBSD glob version note
9693 $VERSION and Version() on same line provokes CPAN.pm warning
9706 #7210 broke .packlist generation
9707 ExtUtils::Installed doesn't quote regex metacharacters in paths
9775 Typo in utf8.h
9950 Revert integration of #8254,#8255 in #8620 (causes coredump)
10021 Insecure regexes
10091 $ref1 == $ref2 behaves unpredictably if not NV_PRESERVES_UV
10093 Incorrect line numbers in AutoSplit
10100 [20010514.027] PL_last_in_gv may not be GV if stale filehandle
10145 [20010515.004] Segfaults from premature GC
10203 Don't think about UTF8
10250 [20010422.005] perl -e '{s//${}/; //}' segfaults
10394 Leakage of file scope lexicals into predeclared subroutines
10404 eval.t was relying on pre-#10394 buggy behavior
10412 Rationalize locale handling to fix bugs uncovered by #10394
10422 Potential buffer overrun if the radix separator > 1 byte
10448 Lexicals outside eval weren't resolved correctly pre-#10394
10450 Optimize #10448 slightly
10543 Add LC_MESSAGES constant to POSIX module
10667 #10449 broke visibility of lexicals inside DB::DB()
10739 C<eval "/x$\r\n/x"> fails to compile correctly
10939 Proposed fix for Pod::Man
11169 Doc patch for Tie::Hash
11374 Make h2ph grok ccsymbols fo the form 1234L, 1234ULL etc
11427 t/harness wasn't picking up all the tests
11428 run/runenv.t needs fflushNULL sanity
11431 pod/*.t tests not picked up by t/TEST either
11510 eval 'format foo=' would loop indefinitely
11713 UTF8 wasn't printing for PVMGs
11716 UTF8 flag should be meaningful only when POK
11808 [20010831.002] Bug in Term::Cap on Solaris ansi terminal
11847 Typo in perl_clone() code causes local(*foo) breakage
12005 [20010912.007] substr reference core dump
12024 Fix local() precedence bug in #8311
12303 Fix 'local $!=0;undef*STDOUT;' segfault
12304 Pod::Html makes a poor guess at author
12350 Typo in IO::Seekable doc
12496 Carp::shortmess_heavy() doesn't notice trailing newline
12549 readline() doesn't work with 'our' variables
12550 #12549 wasn't aware of strictures
12752 croak(Nullch) wasn't printing the contents of ERRSV
12811 [20011101.069] \stat('.') gives 'free unref scalar' error
12812 Slight modification of #12811
13149 Integrate #13147 from mainline (fixes nit in #10091)
13261 Integrate #8340,#13260 from mainline
Built under solaris
Compiled at Apr 6 2002 14:45:34
@INC:
/usr/perl5/5.6.1/lib/sun4-solaris-64int
/usr/perl5/5.6.1/lib
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int
/usr/perl5/site_perl/5.6.1
/usr/perl5/site_perl
/usr/perl5/vendor_perl/5.6.1/sun4-solaris-64int
/usr/perl5/vendor_perl/5.6.1
/usr/perl5/vendor_perl
.
#perl Makefile.PL -v#
Using DBI 1.38 installed in /usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI
Configuring DBD::Oracle ...
>>> Remember to actually *READ* the README file!
Especially if you have any problems.
Using Oracle in /d309/app/oracle/product/9.2.0.3.0
Oracle version 9.2.0.0.0
Found header files in rdbms/public rdbms/demo.
Found /d309/app/oracle/product/9.2.0.3.0/rdbms/demo/demo_rdbms.mk
Found /d309/app/oracle/product/9.2.0.3.0/otrace/demo/atmoci.mk
Found /d309/app/oracle/product/9.2.0.3.0/precomp/demo/proc/demo_proc.mk
Using /d309/app/oracle/product/9.2.0.3.0/rdbms/demo/demo_rdbms.mk
Reading /d309/app/oracle/product/9.2.0.3.0/rdbms/demo/demo_rdbms.mk
Reading /d309/app/oracle/product/9.2.0.3.0/rdbms/lib/env_rdbms.mk
Read a total of 2323 lines from
/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/env_rdbms.mk (including inclusions)
Read a total of 2684 lines from
/d309/app/oracle/product/9.2.0.3.0/rdbms/demo/demo_rdbms.mk (including inclusions)
Deleted SHELL definition: SHELL=/bin/sh
Deleted LIB_EXT definition: LIB_EXT=a
Deleted OBJ_EXT definition: OBJ_EXT=o
Deleted AR definition: AR=ar
Deleted AS definition: AS=as
Deleted CC definition: CC=cc
Deleted CHMOD definition: CHMOD=chmod
Deleted CPP definition: CPP=cpp
Deleted ECHO definition: ECHO=echo
Deleted LD definition: LD=ld
Deleted PERL definition: PERL=perl
Deleted CFLAGS definition: CFLAGS=$(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
Deleted LDFLAGS definition: LDFLAGS=-o $@ $(LDPATHFLAG)$(PRODLIBHOME)
$(LDPATHFLAG)$(LIBHOME)
Deleted OPTIMIZE definition: OPTIMIZE=$(OPTIMIZE3)
Deleted AR definition: AR=/usr/ccs/bin/ar
Deleted AS definition: AS=/usr/ccs/bin/as
Deleted LD definition: LD=/usr/ccs/bin/ld
Deleted CPP definition: CPP=$(CC) -E $(ANSI)
Deleted CHMOD definition: CHMOD=/bin/chmod
Deleted ASFLAGS definition: ASFLAGS=$(NOKPIC_ASFLAGS) $(KPIC_OPTION)
Deleted CCFLAGS definition: CCFLAGS=$(NOKPIC_CCFLAGS) $(KPIC_OPTION)
Deleting ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
because it is not already set in the environment
and it can cause ORA-01019 errors.
Deleted ORA_NLS definition: ORA_NLS = $(ORACLE_HOME)/ocommon/nls/admin/data/
Deleting ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
because it is not already set in the environment
and it can cause ORA-01019 errors.
Deleted ORA_NLS33 definition: ORA_NLS33 = $(ORACLE_HOME)/ocommon/nls/admin/data/
Appending '/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/libskgxpd.a
/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/libskgxpu.a
/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/libskgxpt.a' to EXTRALIBS
Appending '$(LIBHOME)libskgxp9.so' to SHLIBS
Appending '/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/libskgxp9.a' to LIBS
Appending '/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/libskgxns.a
/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/libskgxnd.a
/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/libskgxnr.a' to EXTRALIBS
Appending '$(LIBHOME)libskgxn9.so' to SHLIBS
Appending '/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/libskgxn9.a' to LIBS
Evaluating `cat $(LIBHOME)sysliblist`
expanded `cat /d309/app/oracle/product/9.2.0.3.0/lib/sysliblist`
returned '-lnsl -lsocket -lgen -ldl '
Attempting to discover Oracle OCI build rules
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
-KPIC "-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT DBD_ORA_OBJ.c
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: DBD_ORA_OBJ.c: linker input file unused since linking not done
by executing: (make -f /d309/app/oracle/product/9.2.0.3.0/rdbms/demo/demo_rdbms.mk
build ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=echo OPTIMIZE= CCFLAGS=
EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o)
returned:
[echo -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/precomp/public DBD_ORA_OBJ.c
[-c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/precomp/public DBD_ORA_OBJ.c
[echo -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/
-L/d309/app/oracle/product/9.2.0.3.0/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh `cat
/d309/app/oracle/product/9.2.0.3.0/lib/ldflags` `cat
/d309/app/oracle/product/9.2.0.3.0/lib/sysliblist`
-R/d309/app/oracle/product/9.2.0.3.0/lib -laio -lposix4 -lkstat -lm -lthread
[-L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/
-L/d309/app/oracle/product/9.2.0.3.0/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh
-lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9
-lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl
-R/d309/app/oracle/product/9.2.0.3.0/lib -laio -lposix4 -lkstat -lm -lthread
]
reduced to:
[-c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/precomp/public DBD_ORA_OBJ.c
[-L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/
-L/d309/app/oracle/product/9.2.0.3.0/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh
-lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9
-lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl
-R/d309/app/oracle/product/9.2.0.3.0/lib -laio -lposix4 -lkstat -lm -lthread
]
Oracle oci build prolog:
+ -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/precomp/public DBD_ORA_OBJ.c
Oracle oci build command:
+ -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/
-L/d309/app/oracle/product/9.2.0.3.0/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o -lclntsh
-lnbeq9 -lnhost9 -lnus9 -lnldap9 -lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9
-lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl -lsocket -lgen -ldl
-R/d309/app/oracle/product/9.2.0.3.0/lib -laio -lposix4 -lkstat -lm -lthread
System: perl5.006001 sunos localhost 5.9 sun4u sparc sunw,ultra-1
Compiler: gcc -xO3 -xdepend -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
Linker: /usr/ccs/bin/ld
Sysliblist: -lnsl -lsocket -lgen -ldl
Oracle makefiles would have used these definitions but we override them:
CC: cc
CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\
$(SHARED_CFLAG) $(USRFLAGS)
[$(GFLAG) -xO3 $(CDEBUG) -Xa $(PROFILE) -xstrconst -dalign -xF $(XS) $(MR)
-xildoff -errtags=yes -v -xarch=v9 -xchip=ultra3 -W2,-AKNR_S -Wd,-xsafe=unboundsym
-Wc,-Qiselect-funcalign=32 -xcode=abs44 -Wc,-Qgsched-trace_late=1 -Wc,-Qgsched-T5
-xalias_level=weak -D_REENTRANT -DSS_64BIT_SERVER -DBIT64 -DMACHINE64 -K PIC
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE
-D_SVID_GETTOD -D_REENTRANT $(LPFLAGS) $(USRFLAGS)]
LDFLAGS: -o $@ $(LDPATHFLAG)$(PRODLIBHOME) $(LDPATHFLAG)$(LIBHOME)
[-o $@ -L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/ -L$(LIBHOME)]
Linking with OTHERLDFLAGS = -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o build
-L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/
-L/d309/app/oracle/product/9.2.0.3.0/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9
-lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl
-lsocket -lgen -ldl -R/d309/app/oracle/product/9.2.0.3.0/lib -laio -lposix4 -lkstat
-lm -lthread
[from 'build' rule]
Argument "9.200.0.0" isn't numeric in numeric ge (>=) at Makefile.PL line 669.
Warning: If you have problems you may need to rebuild perl with threading enabled.
MakeMaker (v6.16)
ABSTRACT_FROM => q[Oracle.pm]
AUTHOR => q[Tim Bunce ([EMAIL PROTECTED])]
DEFINE => q[ -DUTF8_SUPPORT]
DIR => []
EXE_FILES => [q[ora_explain]]
INC => q[-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI]
NAME => q[DBD::Oracle]
OBJECT => q[$(O_FILES)]
PREREQ_PM => { DBI=>q[0] }
VERSION_FROM => q[Oracle.pm]
clean => { FILES=>q[Oracle.xsi dll.base dll.exp sqlnet.log libOracle.def ora_explain
mk.pm] }
dist => { DIST_DEFAULT=>q[clean distcheck disttest ci tardist], PREOP=>q[$(MAKE) -f
Makefile.old distdir], COMPRESS=>q[gzip -v9], SUFFIX=>q[gz] }
dynamic_lib => { OTHERLDFLAGS=>q[ -L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib -o
build -L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/
-L/d309/app/oracle/product/9.2.0.3.0/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9
-lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl
-lsocket -lgen -ldl -R/d309/app/oracle/product/9.2.0.3.0/lib -laio -lposix4 -lkstat
-lm -lthread
] }
Using PERL=/usr/bin/perl
LD_RUN_PATH=/d309/app/oracle/product/9.2.0.3.0/lib:/d309/app/oracle/product/9.2.0.3.0/rdbms/lib
Using DBD::Oracle 1.14.
Using DBD::Oracle 1.14.
Using DBI 1.38 installed in /usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI
Writing Makefile for DBD::Oracle
*** If you have problems...
read all the log printed above, and the README and README.help files.
(Of course, you have read README by now anyway, haven't you?)
#make#
cp Oracle.pm blib/lib/DBD/Oracle.pm
cp lib/DBD/Oracle/GetInfo.pm blib/lib/DBD/Oracle/GetInfo.pm
cp mk.pm blib/arch/auto/DBD/Oracle/mk.pm
cp dbdimp.h blib/arch/auto/DBD/Oracle/dbdimp.h
cp ocitrace.h blib/arch/auto/DBD/Oracle/ocitrace.h
cp Oracle.h blib/arch/auto/DBD/Oracle/Oracle.h
cp oraperl.ph blib/lib/oraperl.ph
cp Oraperl.pm blib/lib/Oraperl.pm
/usr/bin/perl -p -e "s/~DRIVER~/Oracle/g"
/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI/Driver.xst > Oracle.xsi
/usr/bin/perl /usr/perl5/5.6.1/lib/ExtUtils/xsubpp -typemap
/usr/perl5/5.6.1/lib/ExtUtils/typemap Oracle.xs > Oracle.xsc && mv Oracle.xsc Oracle.c
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
-KPIC "-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT Oracle.c
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: Oracle.c: linker input file unused since linking not done
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
-KPIC "-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT dbdimp.c
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: dbdimp.c: linker input file unused since linking not done
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
-KPIC "-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT oci7.c
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: oci7.c: linker input file unused since linking not done
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -xO3 -xdepend -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
-KPIC "-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT oci8.c
gcc: unrecognized option `-KPIC'
gcc: language depend not recognized
gcc: oci8.c: linker input file unused since linking not done
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/d309/app/oracle/product/9.2.0.3.0/lib:/d309/app/oracle/product/9.2.0.3.0/rdbms/lib"
gcc -G Oracle.o dbdimp.o oci7.o oci8.o -L/opt/SUNWcluster/lib
-R/opt/SUNWcluster/lib -o build -L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/
-L/d309/app/oracle/product/9.2.0.3.0/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9
-lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl
-lsocket -lgen -ldl -R/d309/app/oracle/product/9.2.0.3.0/lib -laio -lposix4 -lkstat
-lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so
gcc: Oracle.o: No such file or directory
gcc: dbdimp.o: No such file or directory
gcc: oci7.o: No such file or directory
gcc: oci8.o: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBD/Oracle/Oracle.so'
#emacs Makefile# to remove -KPIC & -x options
#make#
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
"-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT Oracle.c
Oracle.xsi: In function `boot_DBD__Oracle':
Oracle.xsi:19: warning: cast to pointer from integer of different size
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
"-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT dbdimp.c
dbdimp.c: In function `ora_db_login6':
dbdimp.c:291: warning: cast to pointer from integer of different size
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
"-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT oci7.c
gcc -c -I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/plsql/public
-I/d309/app/oracle/product/9.2.0.3.0/network/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/public
-I/d309/app/oracle/product/9.2.0.3.0/rdbms/demo
-I/usr/perl5/site_perl/5.6.1/sun4-solaris-64int/auto/DBI -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -DVERSION=\"1.14\" -DXS_VERSION=\"1.14\"
"-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE" -DUTF8_SUPPORT oci8.c
Running Mkbootstrap for DBD::Oracle ()
chmod 644 Oracle.bs
rm -f blib/arch/auto/DBD/Oracle/Oracle.so
LD_RUN_PATH="/d309/app/oracle/product/9.2.0.3.0/lib:/d309/app/oracle/product/9.2.0.3.0/rdbms/lib"
gcc -G Oracle.o dbdimp.o oci7.o oci8.o -L/opt/SUNWcluster/lib
-R/opt/SUNWcluster/lib -o build -L/d309/app/oracle/product/9.2.0.3.0/rdbms/lib/
-L/d309/app/oracle/product/9.2.0.3.0/lib/ -lclntsh -lnbeq9 -lnhost9 -lnus9 -lnldap9
-lldapclnt9 -lnsslb9 -lnnis9 -lnoname9 -lntcp9 -lntcps9 -lnsslb9 -lntcp9 -lntns9 -lnsl
-lsocket -lgen -ldl -R/d309/app/oracle/product/9.2.0.3.0/lib -laio -lposix4 -lkstat
-lm -lthread -o blib/arch/auto/DBD/Oracle/Oracle.so
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file /d309/app/oracle/product/9.2.0.3.0/lib//libclntsh.so: wrong ELF class:
ELFCLASS64
ld: fatal: File processing errors. No output written to build
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `blib/arch/auto/DBD/Oracle/Oracle.so'