[vlc-devel] vlc-0.9.9 will not compile

JD jd1008 at gmail.com
Wed May 6 05:11:48 CEST 2009


Wanted to provide some more info:

$ pkg-config --libs --cflags --print-errors sdl
-D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL  -Wl,/usr/lib64 -lSDL 
-lpthread 

So, why I am getting the error:

/usr/lib/libSDL.so: could not read symbols: File in wrong format

Any info on how to fix this?


JD wrote:
> On Fedora 7, x86_64 :
> rpmbuild -v -bb vlc.spec
>
> yielded this error:
>
> /bin/sh ../../libtool --tag=CC   --mode=link gcc -std=gnu99 
> `top_builddir="../.." ../../vlc-config --cflags plugin 
> libaout_sdl_plugin.la` -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 
> -mtune=generic -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith 
> -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes 
> -Wvolatile-register-var -rpath '/usr/lib64/vlc/audio_output' 
> -avoid-version -module -no-undefined -export-symbol-regex ^vlc_entry 
> -shrext .so `top_builddir="../.." ../../vlc-config --ldflags plugin 
> libaout_sdl_plugin.la`  -o libaout_sdl_plugin.la  
> libaout_sdl_plugin_la-sdl.lo  `top_builddir="../.." ../../vlc-config 
> -libs plugin libaout_sdl_plugin.la` ../../src/libvlccore.la
> libtool: link: gcc -std=gnu99 -shared  
> .libs/libaout_sdl_plugin_la-sdl.o   -L/usr/lib /usr/lib/libSDL.so 
> ../../src/.libs/libvlccore.so -L/lib64 -lhal -ldbus-1 -lrt -lpthread 
> -ldl -lm  -m64 -mtune=generic -Wl,-rpath -Wl,/usr/lib   -Wl,-soname 
> -Wl,libaout_sdl_plugin.so -o .libs/libaout_sdl_plugin.so
> /usr/lib/libSDL.so: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make[4]: *** [libaout_sdl_plugin.la] Error 1
> make[4]: Leaving directory 
> `/sdb2/linux/fc7-x86_64/usr/src/redhat/BUILD/vlc-0.9.9/modules/audio_output'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory 
> `/sdb2/linux/fc7-x86_64/usr/src/redhat/BUILD/vlc-0.9.9/modules/audio_output'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/sdb2/linux/fc7-x86_64/usr/src/redhat/BUILD/vlc-0.9.9/modules'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/sdb2/linux/fc7-x86_64/usr/src/redhat/BUILD/vlc-0.9.9'
> make: *** [all] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.96468 (%build)
>
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.96468 (%build)
>
> I have already reported this problem, but no one seems to have a clue.
>
> All other packages I build, automatically link with libs in 
> /usr/lib64/...etc
> but this package tried to link with 32 bit libs in /usr/lib
>
> Thank for your help.
>
> JD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090505/1939edc1/attachment.html>


More information about the vlc-devel mailing list