|||
在Ubuntu 16.04上安装好sentaurus TCAD后,软件运行时依然面临着问题,主要是该软件所依赖的共享库(lib*.so.?)版本或名称与Ubuntu 16.04系统上原有的不一致, 因而需要安装新的含有共享库文件的软件包或者用新名称destination做软链接(ln -s source destination)到原有的共享库文件source.
1. 无法打开Extensions菜单里的Techplot SV, Sentaurus Visual与Inspect, 终端Shell里出现下列提示:
/opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/bin/tecplot.shared: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
很显然,是缺失libstdc++.so.5文件。由于系统里存在libstdc++.so.6文件, 能不能用版本6的代替版本5的呢?
终端里执行
sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libstdc++.so.5
再次试图打开Techplot SV,则出现下面的提示:
/opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/bin/tecplot.shared: /opt/sentaurus/TCAD/bin/../tcad/current/amd64/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by /opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/bin/tecplot.shared)
/opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/bin/tecplot.shared: /opt/sentaurus/TCAD/bin/../tcad/current/amd64/lib/libstdc++.so.5: version `GLIBCPP_3.2.2' not found (required by /opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/lib/libtec.so)
/opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/bin/tecplot.shared: /opt/sentaurus/TCAD/bin/../tcad/current/amd64/lib/libstdc++.so.5: version `CXXABI_1.2' not found (required by /opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/lib/libtec.so)
/opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/bin/tecplot.shared: /opt/sentaurus/TCAD/bin/../tcad/current/amd64/lib/libstdc++.so.5: version `GLIBCPP_3.2' not found (required by /opt/sentaurus/TCAD/bin/../tcad/current/tecplot/amd64/tecplot11/lib/libtec.so)
Timeout error: re-trying to launch tecplot ...
显然, 版本6的libstdc++与版本5不兼容。必须安装libstdc++5才行,在终端里执行
sudo apt-get install libstdc++5
安装后,Techplot SV, Sentaurus Visual, Inspect都能打开。
2. 无法打开Extensions菜单里的Merger, 终端Shell里出现下列提示:
inspect: error while loading shared libraries: libtiff.so.3: cannot open shared object file: No such file or directory
inspect: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
同样是库文件缺失的问题。检查发现系统里存在libtiff.so.5和libjpeg.so.8,版本比程序所依赖的要高。先考虑用系统自有的高级版本替换所需的低级版本, 在终端里执行
sudo ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.5 /usr/lib/x86_64-linux-gnu/libtiff.so.3
sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so.8 /usr/lib/x86_64-linux-gnu/libjpeg.so.62
然后启动Extensions菜单里的Merger,发现可以打开, 无需再安装低版本的共享库文件。
3. 无法打开Extensions菜单里的 Sentaurus Process, 终端Shell里出现下列提示:
sprocess: error while loading shared libraries: libmp.so.3: cannot open object file: No such file of directory
检查发现系统里没有任何版本的libmp.so文件, 只有名称相似的libgmp.so.10文件, 试着用后者替换前者, 在终端里执行
sudo ln -s /usr/lib/x86_64-linux-gnu/libgmp.so.10 /usr/lib/x86_64-linux-gnu/libmp.so.3
发现Sentaurus Process能正确打开。
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-16 21:24
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社