1. Download files from TSRI, the files are:ICADVM_20.10.340_linux_1of4.tgzICADVM_20.10.340_linux_2of4.tgzICADVM_20.10.340_linux_3of4.tgzICADVM_20.10.340_linux_4of4.tgz2. Extract/Install the downloaded files:# tar xfva ICADVM_20.10.340_linux_1of4.tgz -C /opt/EDA# tar xfva ICADVM_20.10.340_linux_2of4.tgz -C /opt/EDA# tar xfva ICADVM_20.10.340_linux_3of4.tgz -C /opt/EDA# tar xfva ICADVM_20.10.340_linux_4of4.tgz -C /opt/EDA3. Configure Env.# cd /opt/EDA/opt/EDA # cp bashrc_eda bashrc_icadvm/opt/EDA # vi bashrc_icadvm
First, we need to change the softlink of /bin/sh to /bin/bash, not to use
/bin/dash anymore.
# # apt-get install csh ksh
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
ksh93u+m
Suggested packages:
binfmt-support
The following NEW packages will be installed:
csh ksh ksh93u+m
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,175 kB of archives.
After this operation, 3,675 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y \Enter
..
Once you have installed csh & ksh, you may run virtuoso again:
$ virtuoso
2025/03/07 11:36:06 System is not a supported distribution
2025/03/07 11:36:06 An error occurred. We don't recognize OS
2025/03/07 11:36:06 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2025/03/07 11:36:06 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory
This time, it shows another error message which is different than the prior
error message. This means that we have solve the prior error. However, we've
encountered another error here.
-- Missing libcrypto.so.10 --
================================
1. Upgrade our system
We need to upgrade our system at least once per week. Please use rootpermission to run the following commands:# apt-get update# apt-get upgradeReading package lists... DoneBuilding dependency tree... DoneReading state information... DoneCalculating upgrade... DoneThe following packages will be upgraded:chromium chromium-common chromium-sandbox google-chrome-stable4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 98.6 MB/213 MB of archives.After this operation, 98.3 kB of additional disk space will be used.Do you want to continue? [Y/n] yGet:1 http://security.debian.org/debian-security bookworm-security/main amd64 chromium amd64 134.0.6998.88-1~deb12u1 [78.3 MB]Get:2 http://security.debian.org/debian-security bookworm-security/main amd64 chromium-sandbox amd64 134.0.6998.88-1~deb12u1 [101 kB]Get:3 http://security.debian.org/debian-security bookworm-security/main amd64 chromium-common amd64 134.0.6998.88-1~deb12u1 [20.2 MB]Fetched 97.2 MB in 4s (27.4 MB/s)
讀取改變紀錄(changelogs)... 完成
(Reading database ... 345343 files and directories currently installed.)Preparing to unpack .../google-chrome-stable_134.0.6998.88-1_amd64.deb ...Unpacking google-chrome-stable (134.0.6998.88-1) over (134.0.6998.35-1) ...Preparing to unpack .../chromium_134.0.6998.88-1~deb12u1_amd64.deb ...Unpacking chromium (134.0.6998.88-1~deb12u1) over (134.0.6998.35-1~deb12u1) ...Preparing to unpack .../chromium-sandbox_134.0.6998.88-1~deb12u1_amd64.deb ...Unpacking chromium-sandbox (134.0.6998.88-1~deb12u1) over (134.0.6998.35-1~deb12u1) ...Preparing to unpack .../chromium-common_134.0.6998.88-1~deb12u1_amd64.deb ...Unpacking chromium-common (134.0.6998.88-1~deb12u1) over (134.0.6998.35-1~deb12u1) ...Setting up google-chrome-stable (134.0.6998.88-1) ...Setting up chromium-sandbox (134.0.6998.88-1~deb12u1) ...Setting up chromium-common (134.0.6998.88-1~deb12u1) ...Setting up chromium (134.0.6998.88-1~deb12u1) ...Processing triggers for mailcap (3.70+nmu1) ...Processing triggers for desktop-file-utils (0.26-1) ...Processing triggers for hicolor-icon-theme (0.17-2) ...Processing triggers for libc-bin (2.36-9+deb12u9) ...Processing triggers for man-db (2.11.2-2) ...Processing triggers for menu (2.1.49) ...Once you complete system upgrade (patch), you may run the same commands again:# apt-get update# apt-get upgrade================$ virtuoso2025/03/14 09:50:29 System is not a supported distribution2025/03/14 09:50:29 An error occurred. We don't recognize OS 2025/03/14 09:50:29 WARNING This OS does not appear to be a Cadence supported Linux configuration.2025/03/14 09:50:29 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>/opt/EDA/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directoryWe can go to packages.debian.org to search libcrypto.so.10, and it shows thisfile is inside nsight-systems-target package. Thus, we need to install nsight-systems-target:# apt-get install nsight-systems-targetIf you are unable to locate nsight-systems-target, you need to modify your Debian apt setting:# cd /etc/apt# vi sources.listdeb http://140.117.166.164/bookworm/ bookworm main contrib non-free non-free-firmwaredeb http://140.117.166.164/bookworm/ bookworm-updates main contrib non-free non-free-firmwareYou need to add "contrib non-free" into your download setting. Then type:# apt-get update# apt-get install nsight-systems-targetYou maybe able to install this file now. Now, you can run virtuoso again:$ virtuoso2025/03/14 10:09:03 System is not a supported distribution2025/03/14 10:09:03 An error occurred. We don't recognize OS 2025/03/14 10:09:03 WARNING This OS does not appear to be a Cadence supported Linux configuration.2025/03/14 10:09:03 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>/opt/EDA/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directoryHowever, the same error message appears. Why ?If you look at the packages.debian.org website, you can see the the full pathof libcrypto.so.10 is:/usr/lib/x86_64-linux-gnu/nsight-systems/target-linux-x64/CollectX/libcrypto.so.10You need to add /usr/lib/x86_64-linux-gnu/nsight-systems/target-linux-x64/CollectX for virtuoso to find libcrypto.so.10.We can use temporary solution:$ env | grep LDLD_LIBRARY_PATH=/opt/EDA/IC/cur/tools/lib:/opt/EDA/IC/cur/tools/dfII/libYour current library path is like above, we can add one more path:$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/nsight-systems/target-linux-x64/CollectXThe you can verify it:$ env | grep LDLD_LIBRARY_PATH=/opt/EDA/IC/cur/tools/lib:/opt/EDA/IC/cur/tools/dfII/lib:/usr/lib/x86_64-linux-gnu/nsight-systems/target-linux-x64/CollectXNow you have the path in the LD_LIBRARY_PATH setting, and you can run:$ virtuoso2025/03/14 10:12:27 System is not a supported distribution2025/03/14 10:12:27 An error occurred. We don't recognize OS 2025/03/14 10:12:27 WARNING This OS does not appear to be a Cadence supported Linux configuration.2025/03/14 10:12:27 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>/opt/EDA/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directoryWe can see that this time it didn't show the error message. However, anothererror message appears:***** If you need to make permanent modification, you need to modify /opt/EDA/bashrc_eda, and change the setting like this:LD_LIBRARY_PATH="/opt/EDA/IC/cur/tools/lib:/opt/EDA/IC/cur/tools/dfII/lib:/usr/lib/x86_64-linux-gnu/nsight-systems/target-linux-x64/CollectX"Next time, you don't need to set LD_LIBRARY_PATH manually. When you source /opt/EDA/bashrc_eda file, it will be loaded automatically.*****$ virtuoso2021/01/26 12:03:12 System is not a supported distribution2021/01/26 12:03:12 An error occurred. We don't recognize OS2021/01/26 12:03:12 WARNING This OS does not appear to be a Cadence supported Linux configuration.2021/01/26 12:03:12 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>/opt/EDA/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directorySolution:# apt-get install libaprutil1$ virtuoso2025/03/14 10:12:27 System is not a supported distribution2025/03/14 10:12:27 An error occurred. We don't recognize OS 2025/03/14 10:12:27 WARNING This OS does not appear to be a Cadence supported Linux configuration.2025/03/14 10:12:27 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>/opt/EDA/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directoryNow we see this error shows that libdb-4.7.so is missing. However, this filecan not be found in packages.debian.org. You may go to /usr/lib/x86_64-linux-gnu directory and run:# cd /usr/lib/x86_64-linux-gnu/usr/lib/x86_64-linux-gnu # ls -l libdb-*-rw-r--r-- 1 root root 1843792 1月 17 2023 libdb-5.3.soThere is a file called libdb-5.3.so, which is a newer version of libdb.We can create a soft link for libdb-4.7.so#/usr/lib/x86_64-linux-gnu # ln -s libdb-5.3.so libdb-4.7.so/usr/lib/x86_64-linux-gnu # ls -l libdb-*lrwxrwxrwx 1 root root 12 3月 14 10:51 libdb-4.7.so -> libdb-5.3.so-rw-r--r-- 1 root root 1843792 1月 17 2023 libdb-5.3.soThen you can run:$ virtuoso2025/03/14 10:51:53 System is not a supported distribution2025/03/14 10:51:53 An error occurred. We don't recognize OS 2025/03/14 10:51:53 WARNING This OS does not appear to be a Cadence supported Linux configuration.2025/03/14 10:51:53 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>dlopen failed to open 'libdl.so'If you find libdl.so in packages.debian.org, there is nothing.However, if you go to /usr/lib/x86_64-linux-gnu directory# cd /usr/lib/x86_64-linux-gnu/usr/lib/x86_64-linux-gnu # ls -l libdl*-rw-r--r-- 1 root root 8 11月 1 20:42 libdl.a-rw-r--r-- 1 root root 14480 11月 1 20:42 libdl.so.2There is a file called libdl.so.2, so we need to create a soft link for it:/usr/lib/x86_64-linux-gnu # ln -s libdl.so.2 libdl.so/usr/lib/x86_64-linux-gnu # ls -l libdl*-rw-r--r-- 1 root root 8 11月 1 20:42 libdl.alrwxrwxrwx 1 root root 10 3月 14 10:58 libdl.so -> libdl.so.2-rw-r--r-- 1 root root 14480 11月 1 20:42 libdl.so.2Then you may run virtuoso again:$ virtuosoThis time, virtuoso can be executed (If you are lucky.)
在 Linux 上面有許多程式開發環境,從最陽春的 vim、Emacs 乃至於大型專案開發會用到的Eclipse 都是 Linux 上面的程式開發環境。使用 vim 作程式開發對學生而言略嫌功能太過簡陋,而 Eclipse 是屬於大型專案工具,光是啟動、運作都需要不少資源,因此不大建>議學生使用。本課程的目標即在於教導學生建置 Linux 上面的程式開發環境,我們的首選>是 geany 這個輕量級的 IDE 程式開發工具。