Mailing List Archive

PyOpenGl problem
I have compiled PyOpenGl and installed it but whenever I run a demo I get:

File "./trees.py", line 1 in ?
from oglpm import *
File "./oglpm.py", line 4, in ?
from OpenGL.GL import *
File "/usr/lib/python1.5/site-packages/OpenGL/GL/__init.py", line 4, in ?
from opengl_num import *
ImportError: /usr/lib/libMesaGL.so.3: undefined symbol: XFreePixmap.

Is this the wrong version of mesa or something?

--
John Travers

"Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us!"
PyOpenGl problem [ In reply to ]
John Travers:
|I have compiled PyOpenGl and installed it but whenever I run a demo I get:
|
|File "./trees.py", line 1 in ?
| from oglpm import *
|File "./oglpm.py", line 4, in ?
| from OpenGL.GL import *
|File "/usr/lib/python1.5/site-packages/OpenGL/GL/__init.py", line 4, in ?
| from opengl_num import *
|ImportError: /usr/lib/libMesaGL.so.3: undefined symbol: XFreePixmap.
|
|Is this the wrong version of mesa or something?

This dynamic symbol resolution error likely indicates that libMesaGL.so.3
was not correctly linked at compile time (e.g. "ld -o libMesaGL.so ... -lX11")

Randall