Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-12-05, 06:31 AM   #1
Creak
Registered User
 
Join Date: Aug 2004
Posts: 29
Default [HELP] libGL and libGLU not linked with the same libstdc...

Hi!

I've ported a little demo of GLSL of a friend, and after having fixed all the compilation errors, i've got this last one:
Code:
creak@slibar:~/Desktop/pour creak/OpenGL/sources$ make
g++ -o ogl_test DataPack.cpp Main.cpp Object3D.cpp Object3DS.cpp ObjectMD5.cpp ogl.cpp Shader.cpp tga.cpp vector3f.cpp -lGL -lGLEW -lglut
/usr/bin/ld: warning: libstdc++.so.5, needed by /usr/bin/../lib/libGLU.so.1, may conflict with libstdc++.so.6
Then I've done an ldd on the binary:
Code:
creak@slibar:~/Desktop/pour creak/OpenGL/sources$ ldd ./ogl_test
        linux-gate.so.1 =>  (0xffffe000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0xb7f64000)
        libGLEW.so.1.3 => /usr/lib/libGLEW.so.1.3 (0xb7f30000)
        libglut.so.3 => /usr/lib/libglut.so.3 (0xb7f07000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e21000)
        libm.so.6 => /lib/tls/libm.so.6 (0xb7dfb000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7df0000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7cb8000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0xb7c3d000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb74eb000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb74e9000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb74db000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7410000)
        libdl.so.2 => /lib/tls/libdl.so.2 (0xb740c000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0xb73f7000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb73ee000)
        /lib/ld-linux.so.2 (0xb7feb000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7334000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb72e5000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb72dc000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb72c5000)
As you can see, both libstdc++.so.6 and .5 are linked... Certainly because of the warning above

Is the GLU library sent with the nVidia drivers? like the GL one...
I have the version 1.0-7174 of the nVidia drivers (i don't know why, they didn't get to the 1.0-7676 in the Debian repository)...
Creak is offline   Reply With Quote
Old 09-12-05, 08:57 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: [HELP] libGL and libGLU not linked with the same libstdc...

libGLU.so is not provided by Nvidia as it is a utility library build on top of OpenGL. Most distributions ship the libGLU.so from mesa.
Thunderbird is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:41 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.