“Cannot find -lGl”

I’m setting up another Gentoo on my office desktop.

My compiler on Gentoo stops at this error when compiling certain packages. I just noticed that as I tried to install binary drivers for ATI card (X1300).

I tried to re-emerge GCC, but it didn’t help. But finally I noticed the cause as I searched through the forum and the net.

It’s because of the missing symbolic to libGL.so in /usr/src.

I was using ATI drivers for OpenGL so my Gentoo symbolically linked to that library. “dri” was not working so I tried to downgrade the driver to lower version by uninstalling it. But when I did a re-install, compiler stopped there, saying it “Cannot find -lGl”.

Actually what I should have done is to switch the OpenGL library to Xorg libraries before uninstalling the ATI drivers.

Now I’m able to compile the ATI drivers, but still “dri” is not working. I need to figure it out.

3 Responses to ““Cannot find -lGl””

  1. Myo Kyaw Htun says:

    Oh, more than one year without update! Come back to blogging?

    I changed my url. Could you change my link to this new one from my comment?

    Best regards,

    Myo Kyaw Htun

  2. Minn says:

    Sure! I will do that. Nice theme you’ve got, btw.

  3. Zaw Zaw Aung says:

    Ko Ducky,
    Long time, No see.. :)
    Why not posting any more? Too busy?
    I am longing for your new posts.. :)
    pls keep sharing your experiences…
    They are very valuable for us..
    Cheer!

Leave a Reply

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a