database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
ㆍOracle
Informix
Sybase
MS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
Oracle Q&A 1134 게시물 읽기
No. 1134
웹서버와 DB서버의 분리..거의 성공한 거 같은데...-.- 근데...;;
작성자
조성문
작성일
2000-07-19 21:07
조회수
15,304

웹 서버에는 오라클이 깔려 있지 않습니다.

DB서버에는 물론 오라클이 깔려 있죠.

뭐냐면 말이죠, 웹서버에다 오라클을 깔지 않고도 오라클 함수를 사용할 수 있도록 PHP를 컴팔하고 싶거든요. 그래서 오라클 서버에서 필요하다 싶은 디렉토리(rdbms, network, plsql)만 가져와서 웹 서버에다 복사한 담에 ORACLE_HOME잡아주고 --with-oracle로 configure한담에 make!

여기까진 성공했습니다. 그런데 문제는....

아파치 configure가 안되요..-.-

Configuring for Apache, Version 1.3.12

+ using installation path layout: Apache (config.layout)

+ activated php3 module (modules/php3/libphp3.a)

Creating Makefile

Creating Configuration.apaci in src

cd ..; gcc -DLINUX=2 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDE

D `./apaci` -o helpers/dummy helpers/dummy.c -Wl,-rpath,/home/oracle/lib -

Wl,-rpath,/usr/local/pgsql/lib -lgd -L/home/oracle/lib -L/usr/local/pgsql/lib -

lpq -Lmodules/php3 -L../modules/php3 -L../../modules/php3 -lmodphp3 -lclient -

lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -ls

qlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore4 -ln

lsrtl3 -lcore4 -lnlsrtl3 -lm -lcore3 -lm -lpam -

lm -ldl -lcrypt -lresolv -lm -lcrypt -lgdbm

/usr/bin/ld: cannot find -lclient

collect2: ld returned 1 exit status

make: *** [dummy] Error 1

Creating Makefile in src

+ configured for Linux platform

+ setting C compiler to gcc

+ setting C pre-processor to gcc -E

+ checking for system header files

+ adding selected modules

o php3_module uses ConfigStart/End

+ checking sizeof various data types

+ doing sanity check on compiler and options

** A test compilation with your Makefile configuration

** failed. The below error output from the compilation

** test will give you an idea what is failing. Note that

** Apache requires an ANSI C Compiler, such as gcc.

 

======== Error Output for sanity check ========

============= End of Error Report =============

 

Aborting!

 

원래 잘 되던 건데, 오라클이랑 연동한 PHP를 붙이려 하면 이렇게 에러를 냅니다.

쩝..

 

어떻게 해야 하죠?

oracle서버에서 oracle+php+apache 컴팔해 놓은 게 있는데, 컴파일된 아파치를 통째로 복사해 와버릴까요?

[Top]
No.
제목
작성자
작성일
조회
1145-1002 에러 문제
darkgray
2000-07-21
14358
1140ora-01400 이라는 에러 메세지네요..
김호덕
2000-07-20
14421
1141┕>Re: ora-01400 이라는 에러 메세지네요..
김호덕
2000-07-20 16:21:58
14749
1142 ┕>Re: Re: ora-01400 이라는 에러 메세지네요..
김호덕
2000-07-20 16:23:38
14455
1135[[급]] 제 글을 읽으시고 답변 좀 부탁드립니다.
당신
2000-07-20
13296
1136┕>Re: [[급]] 제 글을 읽으시고 답변 좀 부탁드립니다.
김규태
2000-07-20 10:00:38
12924
1134웹서버와 DB서버의 분리..거의 성공한 거 같은데...-.- 근데...;;
조성문
2000-07-19
15304
1137┕>Re: 웹서버와 DB서버의 분리..거의 성공한 거 같은데...-.- 근데...;;
김규태
2000-07-20 10:07:20
15122
1139 ┕>감사합니다...^^; 성공!
조성문
2000-07-20 11:28:41
13940
1133오라클과 php연동이 안되는군요....
dontgo
2000-07-19
13582
1144┕>Re: 오라클과 php연동이 안되는군요....
김규태
2000-07-21 01:10:02
13816
1130oracle 8.0.5 설치시 문제
지오니
2000-07-18
13102
1131┕>Re: oracle 8.0.5 설치시 문제
lee ju yeop
2000-07-19 11:38:12
14446
1132┕>Re: oracle 8.0.5 설치시 문제
위재희
2000-07-19 13:27:13
14715
1143┕>Re: oracle 8.0.5 설치시 문제
anks
2000-07-20 19:47:47
14578
1129바이너리 파일을 BLOB 형식의 필드에 어떻게 저장할 수 있나요?
anova90
2000-07-18
15170
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.019초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다