Hello,
I am trying to install DBD::oracle package in my machine.
But I am getting continous error.
I have installed perl 5.8.8 in my machine.
Oracle client is also installed and it is working fine.
DBI 1.51 also I have installed successfully.
This configuration also I have done.
export ORACLE_USERID=<validuser/validpasswd>
export ORACLE_HOME=<path to oracle>
export ORACLE_SID=@<valid tnsnames.ora entry>
export SHLIB_PATH=$ORACLE_HOME/lib #for 32bit HP
export LD_LIBRARY_PATH=$ORACLE_HOME/lib #for 64bit HP (I defined
them both)
I am getting following error here. Please help me in installing this
package in my machine.
The error I am getting is pasted here.
ga1a1d07:SID=ORCOEPD1=>perl Makefile.PL
Using DBI 1.51 (for perl 5.008008 on PA-RISC1.1-thread-multi) installed
in /opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/auto/DBI/
Configuring DBD::Oracle for perl 5.008008 on hpux
(PA-RISC1.1-thread-multi)
Remember to actually *READ* the README file! Especially if you have any
problems.
Using Oracle in /opt/app/oracle/product/9.2.0.6
DEFINE _SQLPLUS_RELEASE = "902000600" (CHAR)
Oracle version 9.2.0.6 (9.2)
Found /opt/app/oracle/product/9.2.0.6/precomp/demo/proc/demo_proc.mk
Using /opt/app/oracle/product/9.2.0.6/precomp/demo/proc/demo_proc.mk
Your LD_LIBRARY_PATH env var is set to
'/opt/app/oracle/product/9.2.0.6/lib:/opt/app/oracle/product/9.2.0.6/lib
32'
Reading /opt/app/oracle/product/9.2.0.6/precomp/demo/proc/demo_proc.mk
Reading /opt/app/oracle/product/9.2.0.6/precomp/lib/env_precomp.mk
Attempting to discover Oracle OCI build rules
cc -c -I/opt/app/oracle/product/9.2.0.6/rdbms/demo -I.
-I/opt/app/oracle/product/9.2.0.6/precomp/public
-I/opt/app/oracle/product/9.2.0.6/rdbms/public
-I/opt/app/oracle/product/9.2.0.6/rdbms/demo
-I/opt/app/oracle/product/9.2.0.6/plsql/public
-I/opt/app/oracle/product/9.2.0.6/network/public
-I/opt/perl_32/lib/site_perl/5.8.8/PA-RISC1.1-thread-multi/auto/DBI
-D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE
-Wl,+vnocompatwarnings +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Onolimit
+Opromote_indirect_calls +DAportable +DS2.0 -DVERSION=\"1.20\"
-DXS_VERSION=\"1.20\" +Z
"-I/opt/perl_32/lib/5.8.8/PA-RISC1.1-thread-multi/CORE" -DUTF8_SUPPORT
-DNEW_OCI_INIT -DORA_OCI_VERSION=\"9.2.0.6\" DBD_ORA_OBJ.c
by executing: [make -f
/opt/app/oracle/product/9.2.0.6/precomp/demo/proc/demo_proc.mk build
ECHODO=echo ECHO=echo GENCLNTSH='echo genclntsh' CC=true OPTIMIZE=
CCFLAGS= EXE=DBD_ORA_EXE OBJS=DBD_ORA_OBJ.o]
Oracle oci build command:
[ true +DA2.0W -o DBD_ORA_EXE DBD_ORA_OBJ.o
-L/opt/app/oracle/product/9.2.0.6/lib/ -lclntsh `cat
/opt/app/oracle/product/9.2.0.6/lib/ldflags` `cat
/opt/app/oracle/product/9.2.0.6/lib/sysliblist` -lm -lpthread
-lpthread]
WARNING: Stripped `cat /opt/app/oracle/product/9.2.0.6/lib32/sysliblist`
from link command, because it contains libraries not
compiled with +z or +Z (PIC) causing link to fail.
Furthermore, we should have already grabbed these libraries
Found header files in /opt/app/oracle/product/9.2.0.6/rdbms/demo.
Please tell me how to resolve this issue.
Shafi
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Thread Next