Ubuntu 14.04 LTS关于缺少libglut.so.3的解决办法

小白在使用asy作图时,发现编译时出现了问题,问题如下:

$ asy -V -f pdf 2-10.asy
asy: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory

提示缺少libglut.so.3的库,于是就搜索了一下关于glut相关的包,

$ sudo apt-cache search glut |grep glut
freeglut3 - OpenGL Utility Toolkit
freeglut3-dbg - OpenGL Utility Toolkit debugging information
freeglut3-dev - OpenGL Utility Toolkit development files
mgltools-mglutil - Molecular Graphics Laboratory utility collection
celestia-glut - real-time visual space simulation (GLUT frontend)
libghc-glut-dev - Haskell GLUT binding for GHC
libghc-glut-doc - Haskell GLUT binding for GHC; documentation
libghc-glut-prof - Haskell GLUT binding for GHC; profiling libraries
libhugs-glut-bundled - A binding for the OpenGL Utility Toolkit
libkwinactiveglutils1abi3 - library used by accellaration for the KDE window manager Active
libkwinglutils1abi3 - library with OpenGL utilities for the KDE window manager
libmgl-glut7.0.0 - library for scientific graphs (glut interface for windows)
libtaoframework-freeglut-cil-dev - Tao CLI binding for freeglut - development files
libtaoframework-freeglut2.4-cil - Tao CLI binding for freeglut

小白打算安装顺序一个一个的安装,于是依次安装,看是否可以解决问题,

$ sudo apt-get install freeglut3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  freeglut3
0 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
Need to get 97.5 kB of archives.
After this operation, 342 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu/ trusty/main freeglut3 amd64 2.8.1-1 [97.5 kB]
Fetched 97.5 kB in 0s (145 kB/s)     
Selecting previously unselected package freeglut3:amd64.
(Reading database ... 663456 files and directories currently installed.)
Preparing to unpack .../freeglut3_2.8.1-1_amd64.deb ...
Unpacking freeglut3:amd64 (2.8.1-1) ...
Setting up freeglut3:amd64 (2.8.1-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...

再次运行asy程序,解决了问题。

时间: 2024-08-06 05:53:49

Ubuntu 14.04 LTS关于缺少libglut.so.3的解决办法的相关文章

ubuntu 14.04 ns2.35 ***buffer overflow detected **: ns terminated解决办法

1.按照如下教程安装 Install With Me !: How to Install NS-2.35 in Ubuntu-13.10 / 14.04 (in 4 easy steps) 2.运行一个例子程序时出现 ***buffer overflow detected **: ns terminated 3.参考现有方案出现,gcc error:4.4没有那个文件或目录 sudo apt-get intall gcc-4.4 sudo apt-get intall g++-4.4 修改tcl

【Android 系统开发】CyanogenMod 13.0 源码下载 编译 ROM 制作 ( 手机平台 : 小米4 | 编译平台 : Ubuntu 14.04 LTS 虚拟机)

作者 : 韩曙亮 转载请注明出处 : http://blog.csdn.net/shulianghan/article/details/51592930 手机的两种模式 : 在下面有详细的图片示例; -- Recovery 模式 : 音量键增加 + 电源键, 长按上述组合键, 看到 "MI" 的 LOGO 后即进入 Recovery 模式; -- Fastboot 模式 : 音量键减小 + 电源键, 长按上述组合键, 看到 "FASTBOOT" 后, 即 进入 FA

64位双系统Ubuntu 14.04 LTS + Caffe + CUDA 7.5 + Opencv 3.0 安装配置实战

一切的一切,开端便是这caffe,作为博客的第一篇文章,自然要讲讲一个哲学问题"我是从哪来的" 一.windows情况下安装双系统64位Ubuntu 本段落根据http://www.linuxidc.com/Linux/2014-04/100369p2.htm而成. 下面开始: 1)首先还是分区,在计算机上右键--管理--磁盘管理 装Ubuntu分配的硬盘大小最好是(20G以上)不要太小,配好整个环境就要消耗10G左右,再加上数据集和各种库,空间太小非常尴尬.这里请注意,Ubuntu和

Ubuntu 14.04 LTS 安装Docker

Docker官方是有很详细的安装文档(https://docs.docker.com/engine/installation/ubuntulinux/),这里做了一个Ubuntu 14.04 LTS中文版的. 系统要求 64位 $ file /sbin/init /sbin/init: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Lin

Ubuntu 14.04 LTS中Chromium不能使用flash的解决方案

安装过Ubuntu 14.04 LTS的人都知道,这个系统下会有两个浏览器,一个firefox,一个chromium.chromium的flash是有问题的. 之前小编有需要用flash的时候就切换到火狐去,没想到一次升级之后,火狐在看百度网盘视频的时候总是跳转到一个nfdnserror9.wo.com.cn这样的网址,真是气死我了,于是为了能继续看动漫的小编就开始解决flash这个问题了. 1.解决方案来源 How to Install Pepper Flash in Ubuntu 14.04

Ubuntu 14.04 LTS 64bit 编译SDL的问题

http://blog.csdn.net/jhting/article/details/38523945 Ubuntu 14.04 LTS 64bit 编译SDL的问题 分类: C/C++2014-08-12 23:33 423人阅读 评论(0) 收藏 举报 SDL 之前在32位的LINUX中编译是没什么问题的. SDL1.2 需要安装的包: xorg-dev  (执行apt-get install xorg-dev,不安装这个包提示XSHm.h头文件无法找到) 在 make 时提示 _XDat

U盘安装Ubuntu 14.04 LTS正式版

Ubuntu 14.04 LTS正式版发布,而且提供五年的支持和维护服务.Ubuntu 14.04是Ubuntu开发团队历经五年的心血之作.许多新手都喜欢把Linux安装文件刻录成光盘再安装,而安装好之后就浪费了,所以太浪费了,那我们能不能用U盘来安装最新的Ubuntu 14.04正式版呢?答案是可以的,而且非常简单. 相关阅读:U盘操作系统安装工具- Universal USB Installer最新版 http://www.linuxidc.com/Linux/2011-01/31350.h

Install CUDA 6.0 on Ubuntu 14.04 LTS

Ubuntu 14.04 LTS is out, loads of new features have been added. Here are some procedures I followed to install CUDA 6.0 on my DELL Inspiron. First of all, Ubuntu need to be installed successfully, and the necessary libs are also need to installed: su

Ubuntu 14.04 LTS中怎样安装fcitx中文输入法

Ubuntu 14.04 LTS中自带的iBus输入法有多么的难用,这个不用我来说,今后你会看到各种吐嘈会像滔滔江水连绵不绝的.这里我们不抱怨,我们自己来着手解决中国人自 己的Linux中文输入法问题.Fcitx是当之无愧的最好的中文输入法(框架),真的非常感谢作者——当然是中国人,不然谁给你写这头痛的东西.当 Linux走进平常百姓家的时候,我确信Fcitx的贡献起码也得有好几个百分点呀! 方法/步骤 1 一,安装fcitx,这么好的软件,ubuntu软件中心肯定是找得到的,但还是命令来得快一