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] 回答1: Installing fglrx-glx should help you, those are libGL's for proprietary AMD/ATI drivers. 来源: https://stackoverflow.com/questions/11867913/ubuntu-12-04-usr-bin-ld-error-cannot-find-lgl