openglubuntuubuntu-12.04atiamd-processor

Ubuntu 12.04 /usr/bin/ld: error: cannot find -lGL


I istalled the fglrx ATI/AMD proprietary driver and now when i try to launch my OpenGL/SDL project i receive this message: /usr/bin/ld: error: cannot find -lGL

I run Ubuntu 12.04 desktop, 64-bit. HD6870 [ATI Radeon HD 6800 Series]


Solution

  • Installing fglrx-glx should help you, those are libGL's for proprietary AMD/ATI drivers.