----- Forwarded message from "Nguyen, Thang" <[EMAIL PROTECTED]> -----
Delivered-To: [EMAIL PROTECTED] From: "Nguyen, Thang" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: DBO-Oracle-1.12 Date: Tue, 18 Dec 2001 18:43:24 -0600 Hi Tim, We have an application that use Perl 5.005 connect to Oracle rdbms 8.0.6 on hp-ux 11.0. When we upgrade our database to 8.1.7, the connection generated core dump file. I tried to install Perl5.1.6 and DBI I.20 and DBD 1.12. The Perl and DBI installation is success but the DBD installation failed. I have add the +z for ccflags and add -lcl and -lpthread as suggestion in README.hpux file, but it didn't help. Here is the log file : $ perl Makefile.PL Using DBI 1.20 installed in /u01/app/oracle/perl/lib/site_perl/5.6.1/PA-RISC2.0-thread-multi/auto/DBI Configuring DBD::Oracle ... >>> Remember to actually *READ* the README file! Especially if you have any problems. Using Oracle in /u01/app/oracle/product/8.1.7 Found header files in rdbms/demo. Found /u01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk Found /u01/app/oracle/product/8.1.7/otrace/demo/atmoci.mk Using /u01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk Reading /u01/app/oracle/product/8.1.7/rdbms/demo/demo_rdbms.mk. Reading /u01/app/oracle/product/8.1.7/rdbms/lib/env_rdbms.mk. Evaluating `sed -e 's/-ljava//g' $(LIBHOME)ldflags` expanded `sed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` returned '-lnbeq8 -lnhost8 -lnus8 -lnldap8 -lldapclnt8 -lnsslb8 -ln8 -lncrypt8 -ln8 -lncrypt8 -lnoname8 -lntcp8 -lntcps8 -l ' expanded `sed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` expanded `sed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` expanded `sed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` Evaluating `cat $(LIBHOME)sysliblist` expanded `cat /u01/app/oracle/product/8.1.7/lib/sysliblist` returned '-l:libcl.a -l:librt.sl -lpthread -l:libnss_dns.1 -l:libdld.sl ' Attempting to discover Oracle OCI build rules... cc -c -I/u01/app/oracle/product/8.1.7/rdbms/demo -I/u01/app/oracle/product/8.1.7/rdbms/public -I/u01/app/oracle/product/8.1c Oracle oci build command: echo -Wl,+s -Wl,+n -L/u01/app/oracle/product/8.1.7/lib/ -L/u01/app/oracle/product/8.1.7/rdbms/lib/ -o DBD_ORA_EXE D -Wl,+s -Wl,+n -L/u01/app/oracle/product/8.1.7/lib/ -L/u01/app/oracle/product/8.1.7/rdbms/lib/ -o DBD_ORA_EXE DBD_ORA_OBJ.o 8 Unable to interpret Oracle oci build commands. Using fallback approach. *** *** Warning: If you have trouble, see README.hpux... you may have to build your own perl, or go hunting for libraries *** System: perl5.006001 hp-ux dpndvuh2 b.11.00 u 9000800 1802327471 unlimited-user license Compiler: cc -O -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE +z -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ae Linker: /usr/bin/ld Sysliblist: -lrt -lpthread -l:libnss_dns.1 -ldld Oracle makefiles would have used these definitions but we override them: CC: cc CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) $(PFLAGS)\ $(SHARED_CFLAG) $(USRFLAGS) [$(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(QACCFLAGS) -I/u01/app/oracle/product/8.1.7/rdbms/demo -I/u01/app/oracle/pro] build: $(CC) $(LDFLAGS) -o $(EXE) $(OBJS) $(DEF_ON) $(OCISHAREDLIBS) expanded `sed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` expanded `sed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` expanded `sed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` expanded `sed -e 's/-ljava//g' /u01/app/oracle/product/8.1.7/lib/ldflags` expanded `cat /u01/app/oracle/product/8.1.7/lib/sysliblist` [ cc -Wl,+s -Wl,+n -L$(LIBHOME) -L/u01/app/oracle/product/8.1.7/rdbms/lib/ -o $(EXE) $(OBJS) /u01/app/oracle/product/8.1] LDFLAGS: -Wl,+s -Wl,+n -L$(LIBHOME) -L$(RDBMSLIB) [-Wl,+s -Wl,+n -L$(LIBHOME) -L/u01/app/oracle/product/8.1.7/rdbms/lib/] Linking with /u01/app/oracle/product/8.1.7/rdbms/lib/ssdbaed.o /u01/app/oracle/product/8.1.7/rdbms/lib/defopt.o /u01/app/oracle/pro] Note (probably harmless): No library found for -l:libnss_dns.1 LD_RUN_PATH=/u01/app/oracle/product/8.1.7/lib Using DBD::Oracle 1.12. Using DBI 1.20 installed in /u01/app/oracle/perl/lib/site_perl/5.6.1/PA-RISC2.0-thread-multi/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 The project is very critical to me with a very limited time. I desperately need your help. Please advise, Thank You very much Thang Nguyen 972-340-5962 [EMAIL PROTECTED] ----- End forwarded message -----