LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-08-2006, 06:48 PM   #1
bertNernie
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Rep: Reputation: 0
OpenGL libs missing?


I'm running a Mandriva distribution and whenever I try linking with the option -lGL or even -lMesaGL I get "/usr/bin/ld: cannot find -lGL" ... very interesting. Anyone know what could cause this problem and how to go about fixing it?
 
Old 02-08-2006, 07:47 PM   #2
bertNernie
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Original Poster
Rep: Reputation: 0
For the people who run into a similiar problem:

add this to the command: X11_PATH= -L/usr/X11R6/lib

That fixed it for me ... wow mandriva is weird
 
Old 02-09-2006, 12:15 AM   #3
fadelhomsi
Member
 
Registered: Dec 2005
Location: Syria
Distribution: Suse, Mandriva
Posts: 52

Rep: Reputation: 15
where I can find X11_PATH?
thanks.
 
Old 02-10-2006, 03:39 AM   #4
bertNernie
LQ Newbie
 
Registered: Feb 2006
Posts: 3

Original Poster
Rep: Reputation: 0
gcc ... -L/usr/X11R6/lib ...

Sorry, I was looking in the makefile and it was a variable they had set up.
 
Old 02-12-2006, 06:17 AM   #5
fadelhomsi
Member
 
Registered: Dec 2005
Location: Syria
Distribution: Suse, Mandriva
Posts: 52

Rep: Reputation: 15
Thanks, I've found it.
Best regards!!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
always missing some libs. txotxo SUSE / openSUSE 3 10-03-2005 04:36 PM
Missing curl-libs compiling GRIP senorsnor Slackware 7 10-18-2004 10:54 PM
Missing libs that fluxbox uses after installing slack 8.1 via guide datamin0r Amigo 2 09-28-2004 03:31 PM
Can't install GTK because of missing XFree86-libs n00billy Red Hat 4 03-30-2004 10:31 AM
Where would one go to acquire OpenGL devel libs? Baldorg Linux - Software 1 12-05-2003 09:33 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration