Hi there, I just tried updating vlc from version 1.0.4 to 1.0.6 on my dedicated headless machine. Of course X isn't installed there, but since I don't need a GUI for vlc this shouldn't be a problem. Well, it wasn't a problem with vlc-1.0.4, but the new version fails to compile. A quick snippet: ----------------------------- libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -shared .libs/libpulse_plugin_la-pulse.o -Wl,--whole-archive ../../compat/.libs/libcompat.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/var/tmp/portage/media-video/vlc-1.0.6/work/vlc-1.0.6/src/.libs -lpulse -lX11 ../../src/.libs/libvlccore.so -lrt -lpthread -ldl -lm -march=k8-sse3 -Wl,-O1 -Wl,-soname -Wl,libpulse_plugin.so -o .libs/libpulse_plugin.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lX11 collect2: ld returned 1 exit status make[4]: *** [libpulse_plugin.la] Error 1 Looks like this -lX11 doesn't belong there, or why does libpulse need X11 anyway? (full log attached) Since I'm not sure if this is an upstream bug I first post it here. Greets, Tobias
Created attachment 230823 [details] emerge --info output
Created attachment 230825 [details] bzip2ed build.log
fixed, thanks the pulseaudio module of vlc requires libX11 unfortunately :/
Should I then also post this upstream? I'm pretty sure that dependency on x11 by PA should be optional and not mandatory.
(In reply to comment #4) > Should I then also post this upstream? I'm pretty sure that dependency on x11 > by PA should be optional and not mandatory. > yes please; the code seems to optionally use libX11 but always link to it :/
http://trac.videolan.org/vlc/ticket/3650