EDA虚拟机使用错误解决

在Linux中运行yum命令时显示:

1
2
3
4
5
6
7
8
9
10
11
12
13
There was a problem importing one of the Python modules

required to run yum. The error leading to this problem was:
/usr/lib64/libnssutil3.so: undefined symbol: PL_ClearArenaPool
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, Dec 22 2011, 12:12:01)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

主要是这个问题:

1
2
The error leading to this problem was:
/usr/lib64/libnssutil3.so: undefined symbol: PL_ClearArenaPool

解决方法如下:原文

1
The problem is not python, it’s the LD_LIBRARY_PATH that does not include /lib64 and /usr/lib64 setting in the /etc/profiles.d/blreports.sh file.  we fixed this by pre-pending /lib64:/usr/lib64 to the LD_LIBRARY_PATH

也就是在LD_LIBRARY_PATH环境变量中加上两个路径/lib64和/usr/lib64,

方法:

  1. 进入root权限,su
  2. 打开当前用户下的.bashrc文件,gvim ~/.bashrc
  3. 添加一行 export LD_LIBRARY_PATH=/lib64:/usr/lib64:$LD_LIBRARY_PATH
  4. source一下文件.bashrc就可以了。

本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!