doxygen无法使用dot简单解决方法
2006-06-15 14:41
513 查看
当使用doxygen的时候,dot是一个很重要的工具,在安装后,加载dot时候可能出现如下情况:
$ dot
dot: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
如何解决呢?
很简单,主要是LD_LIBRARY_PATH环境变量没有正确的被设置,我们可以在.bash_profile或者是.bashrc中加入下面两行句子:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:
export LD_LIBRARY_PATH
保存后然后退出,在命令行中输入:
$source ~/.bash_profile
或者是
$source ~/.bashrc
再次运行dot时候,就成功了:-)
$ dot
dot: error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory
如何解决呢?
很简单,主要是LD_LIBRARY_PATH环境变量没有正确的被设置,我们可以在.bash_profile或者是.bashrc中加入下面两行句子:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:
export LD_LIBRARY_PATH
保存后然后退出,在命令行中输入:
$source ~/.bash_profile
或者是
$source ~/.bashrc
再次运行dot时候,就成功了:-)
相关文章推荐
- 使用DotNetNuke(DNN) Startkit 4.7(及以上版本)安装无法完成问题的解决方法
- Vue.js devtool插件安装后无法使用的解决办法【最简单有效的解决方法】
- 【WPF开发备忘】使用MVVM模式开发中列表控件内的按钮事件无法触发解决方法
- websphere:rs.getDate()无法使用的解决方法
- Unity中使用UGUI制作Prefab后,调用Instantiate动态生成Button无法点击的解决方法
- adb端口被占用/adb无法使用的一种解决方法
- 解决j-link无法使用以及keil识别出山寨j-link的解决方法
- 修改sudoers权限之后无法sudo的最简单解决方法
- Win7系统下Vmware虚拟机无法使用USB设备问题的解决方法
- PhpStorm无法使用Terminal解决方法
- SQL Server 因为正在使用 无法还原解决方法
- PowerDesigner15/16中 Inheritance、Association、Association Link无法使用的解决方法
- sharepoint 2010 列表的数据表视图无法使用 the list cannot be displayed in datasheet view 解决方法
- 解决 ORA-01552: 非系统表空间'TEST' 无法使用系统回退段 的方法
- 使用VS2005开发 mobile无法调试的解决方法
- 分享解决方法:为什么QQ聊天框中无法使用输入法输入中文?
- Mac 下配置环境变量造成命令行命令无法使用的解决方法
- 宿主机无法使用xshell ssh连接虚拟机中的linux centos 解决方法
- WordPress无法使用自动更新,提示填写FTP信息的解决方法。