Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > OpenGL

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
OpenGL
hacking programming reversing
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

How to fix: "ld cannot find -lGL" on linux
Old 08-16-2010, 11:38 AM   #1


TimothyTimbers's Avatar

Join Date: Feb 2009
Location: i a mgone
Posts: 126
Reputation: -2339
Rep Power: 0
TimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these parts
How to fix: "ld cannot find -lGL" on linux

For some reason my libGL.so was missing from my /usr/lib/ folder which is bad.

I needed to make a link to the libGL.so.1.2 which was in two locations. /usr/lib/mesa and /usr/lib/fglrx. Mesa is the linux implementation of openGL and fglrx is just my proprietary hardware driver for my video card that also had its own .

I chose the libGL.so.1.2 in the mesa folder to make a link to.

Two links are needed because there is a runtime name and a link name.
OpenGLŪ Application Binary Interface for Linux

first the run time name is a link we want to the libGL.so.1.2

sudo ln -s /usr/lib/mesa/libGL.so.1.2 /usr/lib/libGL.so.1

second the link name is a link to actual Link Name:

sudo ln -s /usr/lib/libGL.so.1 /usr/lib/libGL.so
TimothyTimbers is offline

Reply With Quote

Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
fix, ld cannot find lgl, linux
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 03:03 PM.