ubuntu 18.04  VCS2016.6  scl 2017

资源地址

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

http://www.ictown.com/forum.php?mod=viewthread&tid=195973&highlight=vcs

 

友情提示  虚拟机硬盘空间 20G 不够  - - 

 

对于新安装的 ubuntu 18.04 系统,获取mac 地址,和hostname,用于生成证书文件。

  ifconfig 查看 mac 地址

  sudo apt install net-tools

  hostname 获取名

 

将vcs 安装文件和 scl安装文件放在同一目录下,如上资源仅包含 vcs 安装文件,未包含scl

 

sudo apt install unrar 解压出 .run 文件

 

运行 .run 文件, 添加执行权限sudo chmod 755 .run

  需要安装csh  sudo apt install csh

 

运行 .run 在当前目录后,会生成 installer 文件

  执行  installer -gui

  勾选 scl  vcs 执行安装到指定目录,我选择安装到 home/program 下

 

 

 

 

 

 

记录以下遇到的问题

 

 

下载的资源中,没有 scl2017 的相关文件,需要从其他地方下载 scl 2017 ,把对应文件和 vcs 的安装文件放在统一目录下,再执行脚本。

如下两个文件

scl_v2017.12_common.spf

scl_v2017.12_linux64.spf

 

 

/bin/csh: bad interpreter:No such file or directory

解决办法:

sudo apt-get install csh

 

 

0、运行lmgrd 提示no such file and directory

需要依赖包 lsb-core and lsb-base

解决办法:

apt-get install lsb-core

https://blog.51cto.com/carywu/421394

 

0、运行- lmgrd -c licen.dat,Can't make directory /usr/tmp/.flexlm, errno: 2(No such file or directory)

类似解释该错误不影响运行,仅log文件受影响,http://china.xilinx.com/support/answers/62248.html

原因 /usr/tmp  被 /var/tmp 替换

解决办法:

可在命令中直接加入指定log文件,可避免错误

lmgrd -c licen.dat -l ~/license_log.log

 

1、运行vcs出错,信息/bin/sh: Illegal option -h

修改ubuntu 上的/bin/sh
在ubuntu上,/bin/sh默认是链接到/bin/dash的,当你从源代码编译软件的时候,dash可能会导致一些错误,至少我遇到过 类似问题,因此,我把/bin/sh的连接改为了/bin/bash

解决办法:
sudo rm -f /bin/sh
sudo ln -s /bin/bash /bin/sh

http://blog.eetop.cn/blog-955266-55853.html

 

2、运行dve提示error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory

解决办法:

sudo apt-get install libsm-dev:i386

https://blog.csdn.net/weixin_31317775/article/details/78717941

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄