Ubuntu 14.04 LTS Solutions for lack of libglut.so.3

Source: Internet
Author: User

Small white in the use of asy mapping, found that there is a problem when compiling, the problem is as follows:

$ asy-v-F PDF 2-10.asyasy:error while loading shared libraries:libglut.so.3:cannot open shared object file:no such F Ile or Directory

Hint missing libglut.so.3 library, so search about glut related packages,

$ sudo apt-cache search glut |grep glutfreeglut3 - opengl utility  Toolkitfreeglut3-dbg - OpenGL Utility Toolkit debugging  informationfreeglut3-dev - opengl utility toolkit development  filesmgltools-mglutil - molecular graphics laboratory utility  collectioncelestia-glut - real-time visual space simulation  (GLUT frontend) libghc-glut-dev - haskell glut binding for ghclibghc-glut-doc -  haskell glut binding for ghc; documentationlibghc-glut-prof - haskell  glut binding for ghc; profiling librarieslibhugs-glut-bundled - a  Binding for the opengl utility toolkitlibkwinactiveglutils1abi3 - library  used by accellaration for the kde window manager activelibkwinglutils1abi3 - library with opengl utilities for  the KDE window managerlibmgl-glut7.0.0 - library for scientific  graphs  (glut interface for windows) libtaoframework-freeglut-cil-dev - tao  Cli binding for freeglut - development fileslibtaoframework-freeglut2.4-cil  - tao cli binding for freeglut


Small white intends to install the order of one installation, then install in turn to see if it can solve the problem,

$ sudo apt-get install freeglut3reading package lists... donebuilding  dependency tree       reading state information...  donethe following new packages will be installed:  freeglut30  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&NBSP, ..... unpacking freeglut3:amd64  (2.8.1-1)   setting up freeglut3:amd64  (2.8.1-1)   processing triggers for libc-bin  (2.19-0ubuntu6.6)  

Running the ASY program again solves the problem.

This article is from the "Tiandaochouqin" blog, make sure to keep this source http://lavenliu.blog.51cto.com/5060944/1704010

Ubuntu 14.04 LTS Solutions for lack of libglut.so.3

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.