VLC Compilation Error

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
kingfisher
New Cone
New Cone
Posts: 6
Joined: 30 Apr 2004 10:15

VLC Compilation Error

Postby kingfisher » 11 May 2004 05:46

Hi,

I am trying to build vlc-0.7.1 under Redhat Linux 9.0 by following the steps stated below:

- Obtained sorce code from http://download.videolan.org/pub/videolan/vlc/0.7.1/
- download/install dvdcss libdvdcss-1.2.8.tar.gz from http://download.videolan.org/pub/libdvd ... pm/redhat/
- download/install libmad binary libmad-0.15.1b.tar.gz from ftp://ftp.mars.org/pub/mpeg/
- download/install ffmpeg source code from http://sourceforge.net/project/showfile ... p_id=16082
- download/install libmpeg2 from http://libmpeg2.sourceforge.net
- Install GNOME Software Development package

I have fixed all the dependency issues that encountered in the first step, below is my command line:

> ./configure --prefix=/usr --enable-gnome --with-dvdcss=../libdvdcss-1.2.8 --with-ffmpeg-tree=ffmpeg-0.4.8 --with-libmpeg2-tree=../mpeg2dec-0.4.0
...
vlc configuration
--------------------
vlc version : 0.7.1
system : linux
architecture : i686 mmx
build flavour : optim devel
vlc aliases : gvlc gnome-vlc

When I tried to run 'make', the compilation start and later the belows error came out:

> make
...
gcc -Wsign-compare -Wall -finline-limit-30000 -pipe -o libdvd_plugin.so libdvd_plugin_a-dvd.o libdvd_plugin_a-access.o libdvd_plugin_a-demux.o libdvd_plugin_a-seek.o libdvd_plugin_a-es.o libdvd_plugin_a-ifo.o libdvd_plugin_a-udf.o libdvd_plugin_a-summary.o `top_builddir=../../.. ../../../vlc-config --libs plugin dvd`
/usr/bin/ld: cannot find -ldvdcss
collect2: ld returned 1 exit status

Please help, Thank You !

Regards,
Kingfisher

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 11 May 2004 12:06

Make sure you have "/usr/local/lib" in your /etc/ld.so.conf then run "ldconfig" as root.

kingfish

VLC Compilation Error

Postby kingfish » 17 May 2004 10:26

Thanks, I am able to recompiled the source code now.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 11 guests