Linux(Centos7)中安装Questasim10.4一些问题的解决

问题列表

1. 关于 libstdc++.so.5

  • 错误:
    “error while loading shared libraries: libstdc++.so.5”
  • 解决:
    将网上下载或者crack文件自带的libstdc++.so.5拷贝到/usr/lib,
    sudo cp libstdc++.so.5 /usr/lib
    或者,如果查看/usr/lib有libstdc++.so.6等等,也可以试试下面的解决方法,
    cd /usr/lib
    ln -s libstdc++.so.6 libstdc++.so.5

2. 关于"InitializeINIFile quietly"

  • 错误描述:
    if in CentOS7 there are maybe, please use CentOS6 :
    Error in startup script:
    Initialization problem, exiting.
    Initialization problem, exiting.
    while executing
    “InitializeINIFile quietly”
    invoked from within
    “ncFyP12 -+”
    (file “/mtitcl/vsim/vsim” line 1)
    ** Fatal: Read failure in vlm process (0,0)
  • 出现原因:
    这个错误出现在启动vsim图形界面时,在网上查看原因说的是“The upgrade from freetype2 version 2.5.0.1-1 to 2.5.0.1-2 (October 2013[1]) causes the following error in ModelSim.”。总之是一个有关于freetype的问题。
  • 解决:
    (1)在https://download.savannah.gnu.org/releases/freetype/寻找合适版本的下载连接,怎样算合适版本我也不太清楚,这里选择了freetype-2.5.0.1.tar.gz。
    wget https://quantum-mirror.hu/mirrors/pub/gnusavannah/freetype/freetype-2.5.0.1.tar.gz
    (2)解压安装:
    tar xvf freetype-2.5.0.1.tar.gz
    cd freetype-2.5.0.1
    ./configure --prefix=/usr/local/freetype --without-png
    make && make install
    (4)复制文件:
    cd /opt/Mentor/
    mkdir lib32
    cp /usr/local/freetype/lib/libfreetype.so.* /opt/Mentor/lib32
    e.g. : libfreetype.so libfreetype.so.6 libfreetype.so.6.10.2
    (5)更改配置文件:
    vim ~/.bashrc
    添加:
    export LD_LIBRARY_PATH="/opt/Mentor/lib32"
  • 参考内容:
    https://wiki.archlinux.org/index.php/Altera_Design_Software
    http://www.eetop.cn/blog/html/29/1712829-6826889.html
    https://stackoverflow.com/questions/20904841/installing-matplotlib-and-its-dependencies-without-root-privileges
    http://www.sandaoge.com/info/new_id/17.html

4. 其他问题,待发现

你可能感兴趣的:(SystemTools)