Bug 586139

Summary: libGL broken: libGL.so: undefined reference to `_nv000024gl'
Product: [Fedora] Fedora Reporter: Wolfgang Denk <wd>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: ajax
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-26 19:26:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wolfgang Denk 2010-04-26 21:47:14 UTC
Description of problem:

Linking even trivial programs against libGL fails with undefined references to `_nv0000*gl' 

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

mesa-libGL-7.7-4.fc12.i686


How reproducible:

alwaus

Steps to Reproduce:
1. Create a simple test program, like this:
$ cat foo.c
int main (void)
{ 
        return 0;
} 

2. Try to compile and link it against libGL:

$ gcc -o foo foo.c -lGL
  
Actual results:

$ gcc -o foo foo.c -lGL/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000024gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000026gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000030gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000025gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000028gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000023gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000022gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000027gl'
/usr/lib/gcc/i686-redhat-linux/4.4.3/../../../libGL.so: undefined reference to `_nv000029gl'
collect2: ld returned 1 exit status

Expected results:

No errors

Additional info:

Comment 1 Adam Jackson 2010-08-26 19:26:51 UTC
No, that's nvidia's libGL.