Suse11下安装Redhat版本的GBase 8s时 dbaccess无法使用的解决方法
在Suse12下安装Redhat版本的GBase 8s好像可以直接使用,但在Suse11下,由于操作系统不兼容问题,可能出现dbaccess无法使用现象。在Suse 11下安装GBase 8s,可以尝试下面方法进行安装。
用户创建,保障用户在/home目录下有自己专门的目录
- 创建用户时,最好是先创建用户组,再创建用户。groupadd -g 1111 gbasedbt。
- 创建用户时,指定相关参数。如:useradd -u 1111 -g gbasedbt -d /home/gbasedbt -m -s
/bin/bash gbasedbt。
dbaccess报错问题解决方法
在SUSE上安装GBASE 8S后,使用dbaccess时出现错误:dbaccess: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory。
解决方案:
ln -s /usr/lib64/libncurses.so /usr/lib64/libtinfo.so.5
系统中没有libncurses.so问题解决方法
- 安装Suse11时,不要用默认安装,要选择有关C的相关选项即可。
- 可以使用zypper进行安装。如
zypper install ncurses-devel -y