Bug 89954 - Can not link to libglut.so
Summary: Can not link to libglut.so
Keywords:
Status: CLOSED DUPLICATE of bug 90734
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glut
Version: 9
Hardware: athlon
OS: Linux
medium
low
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-04-30 10:21 UTC by Michel Fodje
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:52:51 UTC
Embargoed:


Attachments (Terms of Use)

Description Michel Fodje 2003-04-30 10:21:12 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20030313 Galeon/1.3.4

Description of problem:
Can not link GLUT programs with the version of libglut.so distributed with RedHat 9 



Version-Release number of selected component (if applicable):
glut-3.7-12

How reproducible:
Always

Steps to Reproduce:
1.  create file: test.c
---
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>

int main(int argc, char **argv){
	return;
	glutInit(&argc, argv);
	glutInitWindowSize(512,512);
	glutInitDisplayMode(GLUT_RGB|GLUT_DEPTH|GLUT_DOUBLE);
	glutCreateWindow("Test");
	glutMainLoop();
	return 0;
}
---

2.  gcc -o test test.c  -L/usr/X11R6/lib -lglut -lGL -lGLU -lX11 -lXmu -lXext -lXi
    

Actual Results:  
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined
reference to `glXBindChannelToWindowSGIX'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined
reference to `glXQueryChannelDeltasSGIX'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined
reference to `glXChannelRectSyncSGIX'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined
reference to `glXChannelRectSGIX'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined
reference to `glXQueryChannelRectSGIX'


Expected Results:  should produce an executable test binary

Additional info:

-NVIDIA drivers verion 1.0-4349 are installed on the test system
-Recompiling glut from srpm and installing that instead, fixes the problem.

Comment 1 Mike Chambers 2003-05-01 13:17:44 UTC
Are you using nVidia binary drivers when trying to do this instead of the
supplied nv driver from XFree86?

If so, you need to be using the supplied nv driver from XFree86, then try to
link to libglut.so to see if it works or not.

When using the nVidia binary driver, you have tainted the system with specs that
no one has access to outside of nVidia, therefore no way of troubleshooting any
problems.

Please use the nv driver instead, then try to link to libglut.so with the
original glut package that came with Shrike to see if that works.

Comment 2 Michel Fodje 2003-05-01 17:34:25 UTC
You are right! It works with the "nv" driver.  This appears to be a problem with
the NVIDIA driver and not glut. So I'm closing this bug. Marking it as WONTFIX
and reporting the problem to NVIDIA.

Comment 3 Mike A. Harris 2003-05-13 08:02:22 UTC

*** This bug has been marked as a duplicate of 90734 ***

Comment 4 Red Hat Bugzilla 2006-02-21 18:52:51 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.