compiling DBD-Oracle 1.16 against an Oracle 9i 64bit home

compiling DBD-Oracle 1.16 against an Oracle 9i 64bit home

Post by listmai » Sun, 15 Oct 2006 02:09:02


'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":

LD_LIBRARY_PATH=:/opt/hpnpl/lib:/opt/EMCpower/lib:/opt/VRTSvcs/EMC/lib:/u01/oracle/qadb/9.2.0/lib32
LD_LIBRARY_PATH_64=/opt/EMCpower/lib/sparcv9
ORACLE_HOME=/u01/oracle/qadb/9.2.0
PATH=/opt/ActivePerl-5.8/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/local/bin:/scripts:/usr/openv/netbackup/bin:/usr/openv/volmgr/bin:/opt/hpnpl/bin:/usr/sbin:/usr/bin:/opt/ActivePerl-5.8/bin:.:/etc:/opt/EMCpower/bin/sparcv9:/opt/VRTSvcs/EMC/bin:/etc/emc/bin


# perl Makefile.PL -v
Using DBI 1.50 (for perl 5.008008 on sun4-solaris-thread-multi)
installed in
/opt/ActivePerl-5.8/lib/site_perl/5.8.8/sun4-solaris-thread-multi/auto/DBI/

Configuring DBD::Oracle ...

>>> Remember to actually *READ* the README file!
Especially if you have any problems.

Using Oracle in /u01/oracle/qadb/9.2.0
DEFINE _SQLPLUS_RELEASE = "902000700" (CHAR)
Oracle version 9.2.0.7 (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)
$(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)
Appending '/u01/oracle/qadb/9.2.0/rdbms/lib/libskgxpd.a
/u01/oracle/qadb/9.2.0/rdbms/lib/libskgxpu.a
/u01/oracle/qadb/9.2.0/rdbms/lib/libskgxpt.a' to EXTRALIBS
Appending '$(LIBHOME)libskgxp9.so' to SHLIBS
Appending '/u01/oracle/qadb/9.2.0/rdbms/lib/libskgxp9.a' to LIBS
Appending '/u01/oracle/qadb/9.2.0/rdbms/lib/libskgxns.a
/u01/oracle/qadb/9.2.0/rdbms/lib/libskgxnd.a
/u01/oracle/qadb/9.2.0/rdbms/lib/libskgxnr.a' to EXTRALIBS
Appending '$(LIBHOME)libskgxn9.so' to SHLIBS
Appending '/u01/oracle/qadb/9.2.0/rdbms/lib/libskgxn9.a' to LIBS
Evaluating `cat $(LIBHOME)sysliblist`
expanded `cat /u01/oracle/qadb/9.2.0/lib/sysliblist`
returned '-lnsl -lsocket -lgen -ldl '

Attempting to discov