OK I've managed to resolve the error at the top of this post.
You need to add a number of lines to your /etc/ld.so.conf
An example is given below.
- include ld.so.conf.d/*.conf
/usr/lib64/mysql
/usr/X11R6/lib
/usr/X11R6/lib64
/usr/lib64/qt-3.3/lib
/usr/lib64/xmms/Visualization
/usr/local/lib
/usr/local/include/ebml
/usr/local/include/matroska
/usr/local/include/matroska/c
/usr/local/include/wx-2.5
/usr/local/include/theora
/usr/local/include/vorbis
/usr/local/include/goom
/usr/local/include/mpeg2dec
/usr/local/lib/pkgconfig/
/usr/local/lib/python2.3/site-packages
Then run:
# /sbin/ldconfig
You should now be able to compile the source.
I've done this and used the following to configure vlc:
./configure --host=x86_64-redhat-linux-gnu --build=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --x-libraries=/usr/X11R6/lib64 --enable-release --enable-dvdread --enable-dvdplay --enable-dvbpsi --enable-v4l --enable-vcd --enable-mad --enable-ffmpeg --with-ffmpeg-tree=/enter/your_path/here/fmpeg-20041113 --enable-faad --enable-xvid --enable-flac --enable-theora --enable-x11 --enable-xvideo --disable-qte --disable-directx --enable-fb --enable-aa --without-wingdi --enable-oss --enable-esd --enable-arts --enable-alsa --disable-waveout --enable-gtk --disable-familiar --enable-gnome --enable-wxwindows --disable-opie --disable-macosx --disable-qnx --disable-intfwin --enable-xosd --enable-lirc --enable-pth --disable-st --disable-testsuite --enable-plugins
Now it failes when I run the make:
/usr/bin/ld: /usr/local/lib/liba52.a(parse.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/liba52.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[6]: *** [liba52tofloat32_plugin.so] Error 1
make[6]: Leaving directory `/home/mgilroy/video_on_demand_binaries/vlc-0.8.1/modules/audio_filter/converter'
make[5]: *** [all-modules] Error 1
make[5]: Leaving directory `/home/mgilroy/video_on_demand_binaries/vlc-0.8.1/modules/audio_filter/converter'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/mgilroy/video_on_demand_binaries/vlc-0.8.1/modules/audio_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/mgilroy/video_on_demand_binaries/vlc-0.8.1/modules/audio_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mgilroy/video_on_demand_binaries/vlc-0.8.1/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mgilroy/video_on_demand_binaries/vlc-0.8.1'
make: *** [all] Error 2
[root@a2e vlc-0.8.1]# cd ..
[root@a2e video_on_demand_binaries]# ls
Any suggestions anyone?