[vox-tech] debian breakage: xlibmesa3-gl?

Peter Jay Salzman vox-tech@lists.lugod.org
Wed, 2 Jul 2003 19:24:00 -0700


the program is a glut "hello world" type program:


   #include <GL/glut.h>

   void cbRenderScene(void)
   {
      // Render Quake III like graphics
   }

   int main(int argc, char *argv[])
   {
      int win_id;
      glutInit(&argc, argv);

      glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
      glutInitWindowSize(250, 250);
      glutInitWindowPosition(100, 100);
      win_id = glutCreateWindow("Quaker Oats III");
      glutDisplayFunc(&cbRenderScene);

      glutMainLoop();

      return 0;
   }

compiles great.  appears to run correctly but i get this on standard
error:

   p@satan$ ./1 
   libGL: XF86DRIGetClientDriverName: 1.0.0 tdfx (screen 0)
   libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
   libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
   drmOpenByBusid: busid is PCI:1:0:0
   drmOpenDevice: minor is 0
   drmOpenDevice: node name is /dev/dri/card0
   drmOpenDevice: open result is 4, (OK)
   drmOpenByBusid: drmOpenMinor returns 4
   drmOpenByBusid: drmGetBusid reports PCI:1:0:0
   libGL error: can't find Glide library, dlopen(libglide3-v5.so) and
      dlopen(libglide3.so) both failed.
   libGL error: dlerror() message: /usr/lib/libglide3.so: undefined symbol:
      _trisetup_Default_win_nocull_v

but this is nonsense.

the libglide3 package is installed on my system; /usr/lib/libglide3.so
is present.  the man page specifically says that /usr/lib is in the
search path for ld.so.   but just to make sure, i put /usr/lib in
ld.so.conf and ran ldconfig.  no dice.

wierd.

before i file a report against xlibmesa3-gl, is there any reason to
suspect that the report needs to be filed on libglide3 or even ld.so?

i can't think of anything else to try to glean more info.  any
suggestions?

peter

-- 
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D