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로 인스톨 안되게 할수는 없나요? 이것 때문에 하루 시간낭비를 했군요. 


  1. No Image notice by admin 2024/04/23 by admin
    Views 51 

    CUBRID 사용자를 위한 DBeaver 도구 출시 안내

  2. SQLGate for CUBRID 영구 무료 라이선스 제공

  3. Cubrid Manager에서 데이터 가져오기 와 내보내기

  4. MS-SQL 2008 -> CUBRID로 마이그레이션 방법..

  5. 내보내기할 때 옵션을 줄 수 있는 방법 없나요??

  6. 함수 등록한 수 쿼리문에서 사용하면 에러나는데 뭐가 문제인거죠?

  7. ODBC 오토커밋 off에 관련된 문의

  8. cubrid 설치후의 접속정보(유저ID/password)에 대해서

  9. cubrid_prepare 오류 질문드립니다

  10. csql 질문드립니다.

  11. 오류 해결방법을 몰라 질문드립니다.

  12. 최신 HP-Unix에 큐브리드 커널설정하기

  13. 서버 속도가 과도하게 느리네요

  14. ON DUPLICATE KEY UPDATE 사용시 affected rows 에 관한 질문

  15. Cubrid + Hibernate 관련 해서 질문좀 드릴게요.ㅜㅠ

  16. 큐브리드는 안드로이드 연동이 안되나요?

  17. 테이블 구성 방안 문의

  18. 질의 자동화 질문입니다.

  19. 릴리즈명과 파일명을 구분하는 이유가?

  20. 쿼리 작성에 관한 문의 드립니다.

  21. 다른 서버에 데이터베이스 복원중 오류 메시지

  22. C++ Embedded SQL에서 호스트 변수로 클래스 데이터 선언 가능 여부 문의

Board Pagination Prev 1 ... 135 136 137 138 139 140 141 142 143 144 ... 200 Next
/ 200

Contact Cubrid

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