Wednesday, August 1, 2012

Building wxPython on Ubuntu pains

Tried installing wxPython from source... had a terrible time with the OpenGL libraries. Ofcourse, I cant do without OpenGL if we are to do any nice looking CS Experiments.

Ran into this error and banged my head against it many many times, until it took pity and gave way...


checking for -lGL... no
checking for -lMesaGL... no
configure: error: OpenGL libraries not available


The problem was that despite installing all kinds of OpenGL libraries, this error refused to go away.
After some more head banging, I found, that the /usr/lib/libGL.so was a sym link to nothing.

Deleteded the symlink and created a new one that pointed to an existing file.

sudo rm /usr/lib/libGL.so
sudo ln /usr/lib/libGL.so.295.59 /usr/lib/libGL.so

Problem solved for now...

No comments:

Post a Comment