HP-UX
1755086 회원
4352 온라인
108829 솔루션
새 메시지

Perl 오라클 DBD 설치 도와주세요..

 
한용남
신규 회원

Perl 오라클 DBD 설치 도와주세요..

안녕하세요.

ia64 hp server rx4640 에 Oracle version 9.2.0.8 (9.2)를

사용하고 있습니다.

perl과 오라클을 연동시키기 위해 DBD 모듈을 설치하는데

일주일째 해결을 못하고 있습니다.

상황을 설명하자면

우선 OS 설치 시 기본으로 설치된 Perl프로그램을 이용하려고

DBI 설치시도를 했으나 실패. 다른 방법을 찾아보다가

Perl 5.8.8버전에는 DBI가 포함되어 있다고 해서

perl 5.008008 on IA64.ARCHREV_0 depot 파을을 다운받아서 설치했습니다. DBI 1.52버전이 포함되어 있었구요 CPAN에서 오라클 DBD 1.19를

다운받아서 설치를 시도했으나 역시 실패.

아래와 같은 에러가 나오는데 어떻게 해야될지 모르겠습니다..

이거 빨리 해결을 해야 되는데 도움 좀 부탁드릴께요..

Makefile.PL을 실행했을 때의 에러구요. 이후 make를 실행해도

비슷한 에러가 나오면서 설치가 되지 않습니다..

아직 install은 하지 않았구요.

===========================================================



rx4640: /usr/local/bin/perl Makefile.PL

Using DBI 1.52 (for perl 5.008008 on IA64.ARCHREV_0) installed in /usr/local/li/



Configuring DBD::Oracle for perl 5.008008 on hpux (IA64.ARCHREV_0)



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



Using Oracle in /data3/product/9i

DEFINE _SQLPLUS_RELEASE = "902000800" (CHAR)

Oracle version 9.2.0.8 (9.2)

Found /data3/product/9i/rdbms/demo/demo_rdbms.mk

Found /data3/product/9i/precomp/demo/proc/demo_proc.mk

Using /data3/product/9i/rdbms/demo/demo_rdbms.mk

Your LD_LIBRARY_PATH/SHLIB_PATH env var is set to '/data3/product/9i/lib:/lib:/'

Reading /data3/product/9i/rdbms/demo/demo_rdbms.mk

Reading /data3/product/9i/rdbms/lib/env_rdbms.mk



Attempting to discover Oracle OCI build rules

gcc -c -I/data3/product/9i/rdbms/demo -I/data3/product/9i/rdbms/publicc

by executing:

Oracle oci build prolog:









Oracle oci build command:





WARNING: Stripped `cat /data3/product/9i/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 /data3/product/9i/rdbms/demo /data3/product/9i/rdbms/publ.

WARNING: If you have trouble, see README.hpux.txt...

you may have to build your own perl, or go hunting for libraries

WARNING: If you have trouble, try perl Makefile.PL -l



Checking for functioning wait.ph



System: perl5.008008 hp-ux valhalla b.11.23 u ia64 0392673761 unlimited-user li

Compiler: gcc -O0 -D_HPUX_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-aftE

Linker: /usr/bin/ld

Sysliblist: -l:librt.so -l:libnss_dns.so.1 -l:libdld.so -lm -lpthread -lCsup -l

Oracle makefiles would have used these definitions but we override them:

CC: cc

CFLAGS: $(GFLAG) $(OPTIMIZE) $(CDEBUG) $(CCFLAGS) $(PFLAGS)\

$(SHARED_CFLAG) $(USRFLAGS)



LDFLAGS: -Wl,+s -Wl,+n +DD64 -o $@ -L$(PRODLIBHOME) -L$(LIBHOME)



Linking with OTHERLDFLAGS = +s +n +DD64 -L/data3/product/9i/rdbms/lib32/ -L/da]





WARNING: If you have problems you may need to rebuild perl with threading enabl.

Ignoring LD_RUN_PATH='/data3/product/9i/lib:/data3/product/9i/rdbms/lib32' in et

LD_RUN_PATH=/data3/product/9i/lib32:/data3/product/9i/rdbms/lib32

Using DBD::Oracle 1.19.

Using DBD::Oracle 1.19.

Using DBI 1.52 (for perl 5.008008 on IA64.ARCHREV_0) installed in /usr/local/li/

Writing Makefile for DBD::Oracle



*** If you have problems...

read all the log printed above, and the README and README.help.txt files.

(Of course, you have read README by now anyway, haven't you?)