From: Gary H. <gh...@bi...> - 2001-04-12 23:26:18
|
Yeah, mine also has glXUseXFont, according to the nm command. It also works fine in my C++ code. I have Mesa 3.4-1. In addition to being in /usr/X11R6/lib, I've copied libGL.so to /usr/lib and /usr/local/lib, to no avail. Gary On Thu, 12 Apr 2001, Ari Heitner wrote: > On Thu, Apr 12, 2001 at 10:00:55AM -0700, Gary Huber wrote: > > I have recently downloaded Visual Python; I'm running Red Hat 6.2. > > I also have Mesa installed. When I enter python and > > try to import VPython, I get this: > > > > Python 2.0 (#1, Oct 16 2000, 18:10:03) > > [GCC 2.95.2 19991024 (release)] on linux2 > > Type "copyright", "credits" or "license" for more information. > > >>> import visual > > Visual-2000-11-26 > > Traceback (most recent call last): > > File "<stdin>", line 1, in ? > > File "/usr/local/lib/python2.0/site-packages/visual/__init__.py", line > > 17, in ? > > import cvisual > > ImportError: /usr/lib/libgtkgl.so.4: undefined symbol: glXUseXFont > > >>> > > > > I've tried putting my Mesa shared object file in many different > > places, but with no luck. Am I missing another piece? I though > > glXUseXFont is part of OpenGL. > > > It's part of GLX. And it *does* appear in my /usr/lib/libGL.so: > > nimrod:/usr/lib$ nm -D libGL.so | grep glXUseXFont > 0013eb3c T Fake_glXUseXFont > 0013bf68 T glXUseXFont > > What version on Mesa are you trying to use here? Are you sure it's a working > installation? (does other 3d stuff work?) > > > ari > > > |