Home » Centos/RHEL » Compilation error: /usr/bin/ld: cannot find -lglut

Compilation error: /usr/bin/ld: cannot find -lglut

I encountered with following error “cannot find -lglut” while attempted compiling a gpac tool with ffmpeg.

/usr/bin/ld: cannot find -lglut
collect2: ld returned 1 exit status
make[1]: *** [libgpac.so] Error 1
make[1]: Leaving directory `/usr/local/src/gpac/src’
make: *** [lib] Error 2

To resolve above error simply run the following command:

#yum install freeglut*



I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

Leave a Reply

Your email address will not be published. Required fields are marked *


Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud