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 48
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4458
954 Python Driver connect 함수 실행 시 오류 7 이승환 2018.07.31 962
953 Python Cubrid DB 연동 시 import _cubrid 오류 1 이노무소오파 2023.01.13 148
952 Python 3.9 버전 사용시 Cubrid 접속 불가에 대한 개선 요청 1 오션나인 2021.02.19 231
951 Program 'spacedb' (pid 5835) was connected from the host 'localhost.localdomain' 3 file 도우너19 2022.05.16 158
950 Pro*c 지원 문의 1 secret 파도 2013.07.01 6
949 PreparedStatement.executeBatch에서 일부 데이터의 오류 시 반환 값 문의 2 새옹지마 2023.03.18 342
948 PreparedStatement 변수 바인딩 1 접때그넘 2014.12.06 7827
947 PK값 수정에 대해 1 ohgeumjin 2020.08.19 344
946 PK 생성 질문드립니다. 유니크 인덱스 자동생성이 안되네요? 2 덴드로비움 2017.08.17 2440
945 PHP에서 사용시 문의점 1 완초 2017.10.12 191
944 PHP에서 CUBRID 모듈이 로드 되지 않습니다. 3 유리심장 2011.04.03 15464
943 PHP에서 CUBRID 4.0 모듈이 로드 되지 않습니다. 1 file 유리심장 2011.06.22 11277
942 PHP-Cubrid 연동 오류 (Error: CCI, -16, Cannot connect to CUBRID CAS) 5 cubrid1234 2020.08.10 355
941 PHP-CUBRID 연결: 콘솔에서는 되는데 웹브라우저에서는 실패 1 cubrid1234 2020.08.12 197
940 PHP 클라이어트 모듈 설치시... 2 뿡뿡이당 2010.07.01 8695
939 PHP 커넥션 실패 문의 1 무리링 2011.03.02 9739
» PHP 인스톨 중 에러입니다. 6 들뿔 2012.03.26 9924
937 PHP 에서 cubrid_connect 실패. 1 별의목소리 2009.02.03 14381
936 PHP 에서 ODBC 를 이용한 접근. 3 ApiClasser 2009.10.16 12319
935 PHP 버젼에 따라.. 값을 인식하지 못하는 현상(?) 3 레드오리 2008.12.24 17693
Board Pagination Prev 1 ... 148 149 150 151 152 153 154 155 156 157 ... 200 Next
/ 200

Contact Cubrid

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