View Single Post
Old 12-14-05, 01:24 AM   #3
Registered User
pzgren's Avatar
Join Date: Jan 2004
Posts: 107
Default Re: cannot find -lGL

Originally Posted by wilycoder
Any ideas what is throwing off the linker?

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL

driver: 8174
This means the include files in /usr/include/GL/* for compiling the app, not the libGL self.
The problem can be the path on a 64bit system, which was /usr/lib64, not /usr/lib on some distributions and/or no xorg-devel / libGL-devel package installed. Which distribution ?

Fedora Core 6
Notebook: DELL Inspiron 9400 - Core Duo T2400 - 17" WUXGA 7800 Go 256MB - 2 GB DDR2 667 MHz -
PC: AMD64 3200 - 1 GB Infi. PC400 - MSI K8N Neo Platinum NForce3 250GB - 80GB SATA Samsung - SB Live! 5.1 - GF 6600GT AGP
pzgren is offline   Reply With Quote