Page 1 of 1

Compiling problem...

Posted: 05 Feb 2006 06:02
by Loacoon
When I compile VLC, I have this error:
gcc -Wsign-compare -Wall -pipe -o libopengl_plugin.so libopengl_plugin.a -L/usr/lib -shared -lpthread -fpic -fPIC -L/usr/X11R6/lib -lGL -lGLU -u vlc_entry__0_8_4
/usr/bin/ld: cannot find -lGL
collect2: ld returned 1 exit status
make[4]: *** [libopengl_plugin.so] Error 1
make[4]: Leaving directory `/home/loacoon/Desktop/vlc-0.8.4a/modules/video_output'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/home/loacoon/Desktop/vlc-0.8.4a/modules/video_output'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/loacoon/Desktop/vlc-0.8.4a/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/loacoon/Desktop/vlc-0.8.4a'
make: *** [all] Error 2
What am I supposed to do???

Hello

Posted: 10 Feb 2006 01:44
by h2g2bob
You havn't got the GL library (ie you've got a missing dependancy). You should be able to get around this (I hope) by specifying --disable-glx when you run ./configure. Alternatively, you could install the X11 OpenGL (GLX) library.

h2g2bob

Posted: 10 Feb 2006 01:57
by Loacoon
Open GL library is installed, but Xandros is modifying the system a lot so it can be the reason.
Anyway I'll try this command, thank you.

Posted: 10 Feb 2006 08:17
by fishinlove
advise you try the snv vlc. :oops:

Posted: 25 Jul 2006 15:27
by Death Knight
I have same problem too. :?
-lGL is coulnd found, while it's installed...

I am using SuSE 10.1 x64...