Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to compile some OpenGL apps from sources but there is no /usr/lib/libGL.so, or /usr/lib/libGL.so.1 or even /usr/lib/libGL.so.1.2. However fglrxinfo says:

display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: ATI Mobility Radeon HD 4500 Series OpenGL version string: 3.3.10237 Compatibility Profile Context

Which is what i espect and the gears demo also works...

How do i get those files? I tried the MESA files and then i got SW rendering which is not what i want...

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

The libgl1-dev package is a meta-package that contains the required lib and can be replaced with software implementations libgl1-mesa-swx11 or dri accelerated version libgl1-mesa-dri.

share|improve this answer
add comment

The fglrx package contains /usr/lib/fglrx/libGL.so

To see which libs glxgears (or any other program) is using use

ldd "$(which glxgears)"
share|improve this answer
    
I could do that but it would make my binaries to link only against the libs on my machine, if i run those on a intel or nvidia environment it would not work. –  Paulo Lopes Mar 13 '11 at 19:12
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.