* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.
CentOS 7 (64Bit) | |
PDO Driver - CUBRID 10.2 |
|
10.2 | |
PHP 7.4.9 |
* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.
에러 내용 및 재현 방법 | 재현 가능한 Source와 SQL |
관련 테이블(인덱스, 키정보 포함) 정보 | CUBRID 홈 디렉토리 아래 log 디렉토리 압축 |
-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------
수고 많으 십니다.
우여곡절 끝에 PHP Driver - CUBRID 10.2 버전은 설치 하였습니다.
../src/base/porting.c:2221:1: warning: unused parameter 'sizeloc' [-Wunused-parameter] make[2]: *** [libcascci_la-porting.lo] Error 1 make[2]: Leaving directory `/home/install/php-7.4.9/ext/cubrid-php/cci-src/cci' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/install/php-7.4.9/ext/cubrid-php/cci-src' make: *** [all] Error 2 /home/install/php-7.4.9/ext/cubrid-php configure: error: libcascci.a not found. Failed to build cci lib. Exit. |
devtoolset-8 를 설치하여
$ scl enable devtoolset-8 bash
$ phpize
$ ./configure --with-cubrid --with-php-config=/php/bin/php-config
$ make
으로 Driver 는 설치 되었지만 PDO Driver 는 아무리 해도 설치가 안되더군요.
다음과 같은 오류가 납니다.
-MT libcascci_la-cci_util.lo -MD -MP -MF .deps/libcascci_la-cci_util.Tpo -c ../src/cci/cci_util.c -fPIC -DPIC -o .libs/libcascci_la-cci_util.o ../src/cci/cci_util.c:53:10: fatal error: libregex38a/regex38a.h: No such file or directory #include "libregex38a/regex38a.h" ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [libcascci_la-cci_util.lo] Error 1 make[2]: Leaving directory `/home/install/php-7.4.9/ext/cubrid-pdo/cci-src/cci' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/install/php-7.4.9/ext/cubrid-pdo/cci-src' make: *** [all] Error 2 /home/install/php-7.4.9/ext/cubrid-pdo configure: error: libcascci.a not found. Failed to build cci lib. Exit. |
해결 방법좀 알려주세요.