Slackware x86_64 14.0 下安装OpenSystemArchitect

  1. 安装unixODBC
  2. 下载OpenSystemArchitect-4.0.0-linux-x86-64bit.tar.gz
  3. 解压到临时文件,用makepkg制作tgz安装包(执行脚本内容如下)或者解压到相应位置
  4. 执行脚本内容:
    ln -s /usr/lib64/libodbc.so /usr/lib64/libodbc.so.1
    ln -s /usr/lib64libodbcinst.so/ /usr/lib64/libodbcinst.so.1
  5. 或者手动执行链接(本文操作需要root权限)
    bash-4.2$ whoami
    virhuiai
    bash-4.2$ su
    Password: 
    bash-4.2# whoami
    root
    bash-4.2# cd /usr/lib64/
    bash-4.2# ln -s libodbc.so libodbc.so.1
    bash-4.2# ln -s  libodbcinst.so libodbcinst.so.1
  6. 上面的创建软链接是必须的,否则会出现以下错误而无法运行
    bash-4.2$ OpenSystemArchitect 
    OpenSystemArchitect: error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory
    和
    bash-4.2$ OpenSystemArchitect 
    OpenSystemArchitect: error while loading shared libraries: libodbcinst.so.1: cannot open shared object file: No such file or directory
    

你可能感兴趣的:(x86_64,Slackware)