Background Image

FORUM

조회 수 12785 추천 수 0 댓글 6
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
2년 전쯤 인스톨하고 잘 사용하다가 Upgrade 하면서 다시 인스톨하는데 이런 에러를 만나서 중단이 됐네요...ㅠㅠ

어떤 문제일까요?

[root@www php5]# ./configure --with-cubrid=/home/cubrid/CUBRID --with-cubrid-includedir=../../cubrid-cci-8.4.1.1018/include/ --with-cubrid-libdir=../../cubrid-cci-8.4.1.1018/lib
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
checking for PHP extension directory... /usr/lib64/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for CUBRID support... yes, shared
checking for cci_init in -l"cascci"... no
configure: error: /home/cubrid/CUBRID/lib/libcascci.so Please set CUBRID base install dir with --with-cubrid=DIR.

  • ?
    이용미 2012.03.27 00:10

    안녕하세요. 질문 감사드립니다.

     

    현재 질문하신 것을 보면 2가지의 에러 원인이 예상됩니다.

    1.     CUBRID의 설치 경로가 맞는지 확인 부탁드립니다. (--with-cubrid=/home/cubrid/CUBRID) 경로가 맞는다면 제대로 설치되지 않아 libcascci.so 파일이 없는 경우에 발생할 수 있습니다.

    2.     CUBRID가 설치된 계정(cubrid)과 현재 php를 설치 하시는 계정(root)이 다릅니다. 이와 같은 상황에서는 현재 php를 설치하는 root계정이 CUBRID가 설치된 cubrid계정의 파일들에 대하여 사용 권한이 없기 때문에 libcascci.so의 파일을 찾지 못할 수 있습니다.

     

    이와 관련하여 확인 부탁 드립니다.
  • ?
    들뿔 2012.03.27 00:48
    drwxr-x--- 2 root root  4096 Feb 20 12:30 bin
    drwxr-x--- 2 root root  4096 Feb 20 12:30 compat
    drwxr-x--- 2 root root  4096 Mar 24 17:53 conf
    -rw-r----- 1 root root 19613 Mar 24 17:53 COPYING
    -rw-r----- 1 root root   329 Feb 20 12:30 CREDITS
    drwxr-x--- 4 root root  4096 Mar 24 17:55 databases
    drwxr-x--- 2 root root  4096 Feb 20 12:30 demo
    drwxr-x--- 2 root root  4096 Feb 20 12:30 include
    drwxr-x--- 2 root root  4096 Feb 20 12:30 java
    drwxr-x--- 2 root root  4096 Feb 20 12:30 jdbc
    drwxr-x--- 2 root root  4096 Feb 20 12:30 lib
    drwxr-x--- 2 root root  4096 Feb 20 12:30 lib64
    drwxr-x--- 5 root root  4096 Mar 24 17:59 log
    drwxr-x--- 5 root root  4096 Feb 20 12:30 msg
    -rw-r----- 1 root root  2179 Feb 20 12:30 README
    drwxr-x--- 5 root root  4096 Feb 20 12:30 share
    drwxr-x--- 2 root root  4096 Mar 26 15:40 tmp
    drwxr-x--- 9 root root  4096 Mar 24 17:59 var
    [root@www CUBRID]# pwd
    /home/cubrid/CUBRID


    1. 경로는 위와 같이 현재 /home/cubrid/CUBRID 로  되어 있고요...   cubrid Manager 실행해서 DB접속 table생성 등이 잘되면 DB가 잘 돌아가고 있고 제대로 설치 되었다는 이야기 아닌가요?

    2. 위와 같이 root에서 Cubrid를 설치했습니다. 
  • ?
    남재우 2012.03.27 00:52

    root에서 cubrid를 설치하셨다면 root 계정에서 이미 CUBRID 환경변수를 가지고 있을 것입니다. env를 통해 현재 php configure시 cubrid 환경변수가 있는지 확인해보시고, 없다면 로그인을 다시하던가 하여 CUBRID 환경변수가 로딩되도록 하시기 바랍니다.

    그런다음 --with-cubrid --with-php-config=/... 옵션만을 이용하여 configure 를 다시한번 해보시기 바랍니다.

  • ?
    들뿔 2012.03.27 01:29
    [root@www php5]# echo $CUBRID
    /home/cubrid/CUBRID
    [root@www php5]# echo $CUBRID_DATABASES
    /home/cubrid/CUBRID/databases
    [root@www php5]# echo $LD_LIBRARY_PATH
    /home/cubrid/CUBRID/lib::/home/cubriduser/CUBRID/lib:/home/cubrid/CUBRID/lib
    [root@www php5]#
    [root@www php5]# echo $LIBPATH
    /home/cubrid/CUBRID/lib::/home/cubriduser/CUBRID/lib:/home/cubrid/CUBRID/lib
    [root@www php5]#

    env를 통해 나오는 환경변수중 CUBRID를 찍은 것들인데요. 맞찬가지로 같은 에러가 나오는 군요.. ㅠㅠ


  • ?
    남재우 2012.03.27 02:12

    설치하였던 곳이라 하여 신경을 쓰지는 않았는데요.

    혹시 OS bit수, CUBRID bit, PHP bit 가 모두 일치하나요? CUBRID와 PHP 는 동일해야 합니다.

  • ?
    들뿔 2012.03.27 03:46

    감사합니다. 잘 되는 군요..


    64Bit인데 32Bit로 인스톨 했던 문제 였네요..


    그런데 초기 인스톨할때 다른 문제로 인해 64Bit가 인스톨 안되어 32Bit로  하니 인스톨 되길래 이걸로 되는 줄 착각하고 있었습니다.


    만약 64Bit라면 32Bit로 인스톨 안되게 할수는 없나요? 이것 때문에 하루 시간낭비를 했군요. 


List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 CUBRID 사용자를 위한 DBeaver 도구 출시 안내 21 admin 2024.04.23 143856
1248 cubrid ha 구성시에 master node에서 csql 접속 문제 1 깽즈야 2012.08.17 8723
1247 cubrid 백업 문의 1 깽즈야 2012.08.17 9813
1246 데이터베이스 암호화에 대한 질문 1 file 유니콘 2012.08.14 11567
1245 큐브리드 함수 문의 1 아름다운음악 2012.08.10 15385
1244 cubrid addvoldb 명령어 사용 3 깽즈야 2012.08.08 10714
1243 java PreparedStatement 변수 바인딩 시 에러 1 빛돌 2012.08.04 18976
1242 SQL 에러 문의드립니다. 1 k.. 2012.08.04 18850
1241 DB 비정상 종료로 복구 후 특정 select 에러 발생 5 freemir 2012.08.02 11937
1240 table, column에 코멘트를 넣을 수 있는지요? 2 hangum 2012.08.02 9744
1239 sql 쿼리중 중복 제거 문제 조언좀 부탁드립니다... 2 광황제 2012.08.01 16070
1238 DB생성시 문자집합 변경 1 까망이 2012.07.31 9586
1237 tomcat7 + cubrid 1 깽즈야 2012.07.27 96046
1236 Node.js 용 모듈 있나요? 1 데니 2012.07.25 10476
1235 HA 에서 테이블 생성을 하는 방법 문의 3 freemir 2012.07.23 8594
1234 [질문 2개] ERROR CODE = -452 3 reerror 2012.07.20 12301
1233 c# 으로 DB생성하기.... 2 안드레세상 2012.07.20 12598
1232 insert all 사용방법이??? 1 머리아파 2012.07.19 12548
1231 PHP , cubrid_fetch 문의 9 Aramis 2012.07.19 10256
1230 라이센스 관련 문의 드립니다. 1 달려용 2012.07.19 9229
1229 ERROR CODE = -41 2 reerror 2012.07.18 11288
Board Pagination Prev 1 ... 146 147 148 149 150 151 152 153 154 155 ... 213 Next
/ 213

Contact Cubrid

영업문의 070-4077-2112 / 기술문의 070-4077-2148 / 대표전화 070-4077-2110 / Email. contact_at_cubrid.com
Contact Sales