在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 12501|回复: 30

【冒个泡】国产操作系统UOS(deepin/ubuntu1804-2004)安装EDA

[复制链接]
发表于 2021-1-27 23:04:49 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
本帖最后由 open-CAD 于 2021-1-29 19:06 编辑




  1. ;;create software root directory
  2. sudo mkdir /software && sudo chmod 777 /software
  3. mkdir /software/eda/cadence

  4. ;;Enable 32bit repo
  5. sudo dpkg --add-architecture i386
  6. sudo apt update
  7. sudo apt upgrade

  8. ;;Clean shared lib error/warning while run iscape.sh

  9. ;;Tips
  10. ;;   "apt" always use lower case to search the package, so if system missing some lib,
  11. ;;   use the libname(lowerCase,without .so.*)+libversion(number)+[:i386](for 32bit) to install.
  12. ;;   "yum/cnf" use libName(with .so.*)+[i686](for 32bit)
  13. ;;   if some use uppercase, cannot find package.
  14. sudo apt install openjdk-11-jdk
  15. sudo apt install libc6:i386
  16. sudo apt install libxext6:i386
  17. sudo apt install libxtst6:i386

  18. ;;Install xterm for configture window
  19. sudo apt install xterm

  20. ;;install package for IC, $CDSHOME is IC root install directory

  21. Error:
  22. bash: $CDSHOME/bin/virtuoso: /bin/ksh: bad interpreter: No such file or directory

  23. Solution:
  24. sudp apt install ksh


  25. Error:
  26. bash: $CDSHOME/tools.lnx86/bin/checkSysConf: /bin/csh: bad interpreter: No such file or directory

  27. Solution:
  28. apt install csh

  29. Error:
  30. $CDSHOME/share/oa/bin/sysname: 209: $CDSHOME/share/oa/bin/sysname: [[: not found
  31. $CDSHOME/share/oa/bin/sysname: 243: $CDSHOME/share/oa/bin/sysname: [[: not found
  32. $CDSHOME/share/oa/bin/sysname: 209: $CDSHOME/share/oa/bin/sysname: [[: not found
  33. $CDSHOME/share/oa/bin/sysname: 243: $CDSHOME/share/oa/bin/sysname: [[: not found
  34. $CDSHOME/share/oa/bin/sysname: 209: $CDSHOME/share/oa/bin/sysname: [[: not found
  35. $CDSHOME/share/oa/bin/sysname: 243: $CDSHOME/share/oa/bin/sysname: [[: not found
  36. virtuoso:   ERROR: The OA2.2 library directory ($CDSHOME/share/oa/lib/linux_64/opt) does not seem to exist.
  37. virtuoso:    INFO: Note that OpenAccess (OA) requires running the Configure phase.
  38. virtuoso:          See the "OpenAccess Installation and Configuration Guide" before
  39. virtuoso:          you complete the configuration step. This manual is included with
  40. virtuoso:          the Cadence product documentation.

  41. Solution:
  42. ;;Solve "OA2.2 not found"
  43. mv $CDSHOME/oa_v22.60.043/lib/linux_rhel60_64/ $CDSHOME/oa_v22.60.043/lib/linux_64/
  44. ;;set env
  45. export OA_UNSUPPORTED_PLAT=linux_rhel60
  46. export W3264_NO_HOST_CHECK=1

  47. ;;Solve "[[: not found", this is tools script bug, used wrong expression
  48. sed -i "s/\[\[/\[/g;s/\]\]/\]/g" $CDSHOME/share/oa/bin/sysname


  49. Error:
  50. $CDSHOME/tools.lnx86/dfII/bin/64bit/virtuoso: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory
  51. $CDSHOME/tools.lnx86/dfII/bin/64bit/virtuoso: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory

  52. Solution:
  53. ;;set env:
  54. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib/x86_64-linux-gnu:/software/ocad/share/lib64

  55. Error:
  56. $CDSHOME/tools.lnx86/dfII/bin/64bit/virtuoso: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory

  57. Solution:
  58. sudo apt install libaprutil1-dev

  59. Error:
  60. $CDSHOME/tools.lnx86/dfII/bin/64bit/virtuoso: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory

  61. Solution:
  62. sudo apt install libdb-dev
  63. sudo ln -s /lib/x86_64-linux-gnu/libdb-5.3.so /lib/x86_64-linux-gnu/libdb-4.7.so



复制代码
附件包含了debian系系统缺失的一些lib,加载到LD_LIBRARY_PATH变量中即可。后续会放虚拟机出来

更新:解决debian系系统无法启动lmgrd的错误
Error:
bash: lmgrd: No such file or directory

Solution:
use "file" command check the interpreter of lmgrd, return:
lmgrd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-lsb-x86-64.so.3, for GNU/Linux 2.6.18, stripped
search "/lib64/ld-lsb-x86-64.so.3" in redhat6/7, find it is a symbol link of "/lib64/ld-lsb-x86-64.so.3",so:

sudo apt install lsb-release
sudo ln -s /lib64/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3

ocad.zip

10.64 MB, 下载次数: 226 , 下载积分: 资产 -4 信元, 下载支出 4 信元

发表于 2021-1-27 23:36:58 | 显示全部楼层
支持楼主!!!
发表于 2021-1-27 23:58:00 | 显示全部楼层
楼主好!你已经是那个靓仔。一直记得楼主是上一年度的瓢把子!谢谢!
发表于 2021-1-28 08:37:21 | 显示全部楼层
支持楼主分享   
发表于 2021-1-28 08:49:04 | 显示全部楼层
感谢
发表于 2021-1-28 09:24:03 | 显示全部楼层
看不懂
发表于 2021-1-28 09:30:59 | 显示全部楼层
thanks
发表于 2021-1-28 09:42:47 | 显示全部楼层
厉害啊!!
发表于 2021-1-28 10:22:46 | 显示全部楼层
楼主太强了:)
发表于 2021-1-28 10:43:59 | 显示全部楼层
唉...在高手面前,所有的问题都不是问题。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条


小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-12-24 02:55 , Processed in 0.022431 second(s), 7 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表