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 30
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4456
1651 마이그레이션 시 1 쩡저리 2013.10.28 7795
1650 MODIFY CONSTRAINT 가능한가요? 1 agkim 2013.10.28 12033
1649 A serial object already exists as an auto increment constraint. 오류 질문 1 kimsuny 2013.10.28 15984
1648 오라클의 USER_CONSTRAINTS 1 agkim 2013.10.28 9283
1647 pk명 변경 2 쩡저리 2013.10.28 14003
1646 전자정부표준프레임워크 BLOB insert질문합니다 1 poooh 2013.10.24 47436
1645 HA 구성오류 답변 부탁드립니다. 7 영길 2013.10.23 10655
1644 linux cubrid manager 설치후 실행 error file 거기 2013.10.23 10416
1643 CUBRID Migration에 대해서 1 알칸펠 2013.10.23 8439
1642 특정 글자 깨짐 현상 문의 3 file 용이1 2013.10.22 14457
1641 에러코드 찾는방법 질문 1 joke7 2013.10.22 18441
1640 func이용시 한글깨짐 1 한창 2013.10.22 11765
1639 SET SYSTEM PARAMETERS 질문 입니다. 2 phil 2013.10.20 7870
1638 큐브리드 매니저오류인가요? 2 액션가묜 2013.10.18 8122
1637 SQL 쿼리 속도문제 1 칭칭이 2013.10.17 10314
1636 테이블 목록을 뽑고 싶습니다. 1 아워나 2013.10.17 13114
1635 loaddb schema 로드 에러 2 secret 소라게 2013.10.15 9
1634 Sum 에서 Overflow occurred in addition context 발생 2 file 오션나인 2013.10.12 11786
1633 오라클 Encrypt, Decrypt 함수에 해당하는 없나요? 1 아워나 2013.10.11 12604
1632 delete로 날리기 전 데이터 조회 방법좀 알려주세여 1 QA 2013.10.11 10012
Board Pagination Prev 1 ... 113 114 115 116 117 118 119 120 121 122 ... 200 Next
/ 200

Contact Cubrid

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