[Fwd: compiling DBD-Oracle 1.16 against an Oracle 9i 64bit home]

[Fwd: compiling DBD-Oracle 1.16 against an Oracle 9i 64bit home]

Post by listmai » Sun, 15 Oct 2006 02:41:26

simply removed the extra cc reference and ran it manually then ran
make again then make test, make install and I'm up and running...

cc -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/WS6U2/lib Oracle.o
dbdimp.o oci8.o *EXTRA CC RIGHT HERE* cc -Xa -xstrconst -xF -xarch=v8 -xchip=ultra
-W2,-AKNR_S -W2,-Rglobal_hoist -Wc,-Qdelay-speculate
-Wc,-Qdepgraph-safe_spec_load=3 -W2,-Rloop -errtags=yes -v -K PIC
-L/opt/SUNWcluster/lib -R/opt/SUNWcluster/lib
-L/u01/oracle/qadb/9.2.0/rdbms/lib32/ -L/u01/oracle/qadb/9.2.0/lib32/
-lclntsh `cat /u01/oracle/qadb/9.2.0/lib32/ldflags` `cat
/u01/oracle/qadb/9.2.0/lib32/sysliblist` -R/u01/oracle/qadb/9.2.0/lib32
-laio -lposix4 -lkstat -lm -lthread -o

-------- Original Message --------
Subject: compiling DBD-Oracle 1.16 against an Oracle 9i 64bit home
Date: Fri, 13 Oct 2006 13:09:02 -0400
From: listmail < XXXX@XXXXX.COM >

I'm trying to compile DBD-Oracle 1.16 against an Oracle 9i 64-bit home
and got a little further this time when I set LD_LIBRARY_PATH to include
$ORACLE_HOME/lib32. I'm not seeing what file it cannot find and the
three .0 files were created. The following is the output of env vars,
the "perl Makefile.pl" and "make commands":


# perl Makefile.PL -v
Using DBI 1.50 (for perl 5.008008 on sun4-solaris-thread-multi)
installed in

Configuring DBD::Oracle ...

Especially if you have any problems.

Using Oracle in /u01/oracle/qadb/9.2.0
Oracle version (9.2)
Found /u01/oracle/qadb/9.2.0/rdbms/demo/demo_rdbms.mk
Found /u01/oracle/qadb/9.2.0/otrace/demo/atmoci.mk
Found /u01/oracle/qadb/9.2.0/precomp/demo/proc/demo_proc.mk
Using /u01/oracle/qadb/9.2.0/rdbms/demo/demo_rdbms.mk
Reading /u01/oracle/qadb/9.2.0/rdbms/demo/demo_rdbms.mk
Reading /u01/oracle/qadb/9.2.0/rdbms/lib/env_rdbms.mk
Read a total of 2323 lines from
/u01/oracle/qadb/9.2.0/rdbms/lib/env_rdbms.mk (including inclusions)
Read a total of 2684 lines from
/u01/oracle/qadb/9.2.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)
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 defini