linux - pgplot 不起作用

标签 linux

我在 Linux 中成功安装了 pgplot 5.2,但是当尝试运行任何像 pgdemo 这样的函数时,它给出了错误

./pgdemo/:加载共享库libpgplot.so时出错:无法打开共享对象文件:没有这样的文件或目录。

但是我检查了这个库在目录中

问题是什么?

最佳答案

您没有说明如何安装该库,但请务必运行 ldconfig然后设置链接。看这个other SO Answer了解详情。

But I checked that this library is in the directory

您可能想明确这一点。哪个目录?例如,大多数系统都会在 /usr/lib 中查找。

关于linux - pgplot 不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15346682/

相关文章:

linux - 如何从 bash 制作批处理脚本

linux - 调度程序代码在什么上下文中运行?

c - 平台驱动程序模板无法正常工作

linux - 根据第一列记录向数据添加新列

linux -/etc/profile 中的环境变量不适用于 Ubuntu 12.04LTS 上的 HBase

linux - 查找 nohup 命令运行的进程

java - Linux 中 SOAP 请求的请求 xml 中的 UTF-8 编码

linux - 调查已安装的二进制文件挂起的原因

linux - 错误 : ‘struct task_struct’ has no member named ‘it_virt_value’

linux - 在 Linux 中批量重命名文件