Background Image

FORUM

조회 수 9924 추천 수 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 도구 출시 안내 admin 2024.04.23 47
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4458
1194 데이터베이스 사용량 1 secret 나일등 2012.04.12 13
1193 질문드립니다.. 1 dgehrs 2012.04.11 8202
1192 큐브리드에서 장고(django)지원 계획이 있는지요? 1 지니보이 2012.04.10 9819
1191 안녕하세요, 교육일정문의드립니다. 1 초지일관YES 2012.04.05 7070
1190 natural order 기능 1 크림빵돌이 2012.04.05 6960
1189 자바_큐브리드 쿼리에 대한 질문입니다. 2 file 존케이 2012.04.05 7505
1188 필드 크기 변경 계획에 대한 질문 3 유니콘 2012.04.04 7447
1187 큐브리드 매니저 질의 결과 보고 문의 3 file 유니콘 2012.04.04 6399
1186 varchar 형식 insert 문의 4 file 유니콘 2012.04.04 12778
1185 Python Driver가 있는지요 1 decoro 2012.03.30 7478
1184 큐브리드 매니저 접속 문제 10 secret 종이 2012.03.27 18
1183 큐브리드 매니터 질의 편집기 관련 1 하루야 2012.03.26 7377
» PHP 인스톨 중 에러입니다. 6 들뿔 2012.03.26 9924
1181 Connect By Level 구문에 대해 문의 드립니다. 1 깨달음 2012.03.23 11274
1180 큐브리드 매니저 connect timed out. 오류 1 아이쿠두야 2012.03.23 10923
1179 Warning: Error: CAS, -1003, Cannot receive data from client 에러 발생 1 gPdnjs 2012.03.23 9259
1178 Cubrid iBatis Cursor 예제좀 부탁드립니다. 1 깨달음 2012.03.21 16250
1177 ODBC 에러 물어보겟습니다. 2 세스카 2012.03.21 10253
1176 ADO.net 또는 ODBC에 대한 질문입니다. 12 세스카 2012.03.20 13377
1175 win 2008 (x64)에서 apm으로 큐브리드 연동 질문 1 hwani012 2012.03.16 7666
Board Pagination Prev 1 ... 136 137 138 139 140 141 142 143 144 145 ... 200 Next
/ 200

Contact Cubrid

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