Re: Compiling error vlc 2.0.6 SOLVED
Axel Thimm <[email protected]>
| Newsgroups | gmane.linux.redhat.rpm.atrpms.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, May 06, 2013 at 10:55:13PM +1000, O&M Ugarcina wrote: > On 05/05/13 20:01, Paulo Cavalcanti wrote: > >It is a linking problem. It is not finding > >the opengl libraries. > > > >I compile using mock, and this avoids conflicts > >between mesa and nvidia files. > > > >I have vlc for rhel6 here: > > > >http://orion.lcg.ufrj.br/RPMS/myrpms-el6-x86_64/lcgrpms/vlc-2.0.6-6.el6.x86_64.rpm > > > >http://orion.lcg.ufrj.br/RPMS/myrpms-el6-x86_64/lcgrpms/vlc-devel-2.0.6-6.el6.x86_64.rpm > > > > > >However, I may have compiled it with some additional packages of > >mine or from epel > >that you will not find on ATrpms. > > > > > > > > > >On Sat, May 4, 2013 at 11:11 PM, O&M Ugarcina <[email protected] > ><mailto:[email protected]>> wrote: > > > > Hello Paulo, > > > > I have been trying to compile the latest vlc src rpm and have come > > to an error : > > > > /bin/sh ../../libtool --tag=CC --silent --tag=CC --mode=compile > > gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. > > -DMODULE_NAME=`p="libxcb_glx_plugin_la-events.lo"; p="${p##*/}"; > > p="${p#lib}"; echo "${p%_plugin*}"` > > -DMODULE_NAME_IS_`p="libxcb_glx_plugin_la-events.lo"; > > p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}"` > > -DMODULE_STRING=\"`p="libxcb_glx_plugin_la-events.lo"; > > p="${p##*/}"; p="${p#lib}"; echo "${p%_plugin*}"`\" -D__PLUGIN__ > > -I../../include -I../../include -I/usr/include/libdrm -O2 -g > > -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith > > -Wbad-function-cast -Wwrite-strings -Wmissing-prototypes > > -Wvolatile-register-var -Werror-implicit-function-declaration > > -pipe -fvisibility=hidden -ffast-math -funroll-loops > > -fomit-frame-pointer -c -o libxcb_glx_plugin_la-events.lo `test -f > > 'xcb/events.c' || echo './'`xcb/events.c > > CCLD libxcb_glx_plugin.la <http://libxcb_glx_plugin.la> > > /usr/bin/ld: cannot find -lGL > > collect2: ld returned 1 exit status > > make[5]: *** [libxcb_glx_plugin.la <http://libxcb_glx_plugin.la>] > > Error 1 > > make[5]: Leaving directory > > `/root/redhat/BUILD/vlc-2.0.6/modules/video_output' > > make[4]: *** [all-recursive] Error 1 > > make[4]: Leaving directory > > `/root/redhat/BUILD/vlc-2.0.6/modules/video_output' > > make[3]: *** [all] Error 2 > > make[3]: Leaving directory > > `/root/redhat/BUILD/vlc-2.0.6/modules/video_output' > > make[2]: *** [all-recursive] Error 1 > > make[2]: Leaving directory `/root/redhat/BUILD/vlc-2.0.6/modules' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/redhat/BUILD/vlc-2.0.6' > > make: *** [all] Error 2 > > error: Bad exit status from /root/redhat/tmp/rpm-tmp.6w6HzN (%build) > > > > > > RPM build errors: > > Bad exit status from /root/redhat/tmp/rpm-tmp.6w6HzN (%build) > > > > > > My environment is el6.4 64bit . I know I am missing something but > > have not been able to workout which rpm will satisfy the requirement . > > > > Best Regards > > Milorad > > > > > > > > > >-- > >Paulo Roma Cavalcanti > >DCC - UFRJ > > Thanks Paulo, > > I have persevered and found the issue . Which is very unexpected . I > had to re-install two mesa packages mesa-libGL and mesa-libGL-devel > . They were installed already , but when installed initially failed > to create the libGL.so.1.2.0 file and its symlink to libGL.so . All > other files were there from those packages except the most important > one . Unbelievable . > > Best Regards > > Milorad There are official 2.0.6 builds in ATrpms now as well. Thanks, Paulo! -- Axel.Thimm at ATrpms.net