LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 719|回复: 2

请问一个程序启动的问题?

[复制链接]
发表于 2004-12-6 09:43:05 | 显示全部楼层 |阅读模式
我编译安装了一个叫gmsh的程序,在命令行下执行gmsh后,提示:gmsh: error while loading shared libraries: libgsl.so.0: cannot open shared object file: No such file or directory

但实际上 我有libgsl.so.0文件,就在/usr/local/lib/下,请问该怎么办?
发表于 2004-12-6 12:07:27 | 显示全部楼层
编译/etc/ld.so.conf 加入/usr/local/lib目录
然后运行ldconfig
或ln -s /usr/local/libgsl.so.0 /usr/lib/
创建个链接过去,试试。
发表于 2004-12-6 12:39:33 | 显示全部楼层
ln -s /usr/local/libgsl.so.0 /usr/lib/
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表