기타

cubrid: error while loading shared libraries 에러가 발생했을 경우 대처

by 웁쓰 posted May 19, 2009

큐브리드에서 필요한 필수 library의 경우는 다음과 같습니다.

  • elfutils-libelf
  • libtermcap
  • libcurses
  • libncurses


  • CentOS
    yum install ncurses*

    RedHat 계열
    www.rpmfind.net 에서 ncurses rpm을 다운받아

    RHEL  4일경우
    #wget http://ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os/i386/SRPMS/ncurses-5.4-13.src.rpm
    #rpm -ivh ncurses-5.4-13.rpm

    Debian(데비안) /  Ubuntu(우분투) 계열

    #aptitude update // refresh apt's cache
    #aptitude search pkgnames // lists all available software containing
    #aptitude search pkgnames | grep -i WORD // lists all software containing WORD
    #aptitude install PACKAGE // installs PACKAGE (found from list above)



    >sh CUBRID-8.1.4.1032-linux.sh 을 실행했더니, 잘 설치되는데 cannot create demodb 가 뜹니다.
    >그래서 그냥 그건 그런가보다 하고 아래처럼
    >[root]# cubrid service start 을 했더니
    >cubrid: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory



    Articles

    1 2