have a compile problem

Net Llama! netllama
Mon May 17 11:34:42 PDT 2004


On Thu, 11 Jul 2002, Keith Antoine wrote:
 On Wednesday 10 July 2002 11:31 pm, Net Llama! espoused with vigour:
>
> > > Mplayer:
> > >  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread     -Lvidix -lvidix
> > > libmpdemux/libmpdemux.a(demux_ogg.o): In function
> > > `demux_ogg_read_packet': demux_ogg.o(.text+0x5e): undefined reference to
> > > `vorbis_packet_blocksize' make: *** [mplayer] Error 1
> >
> > Do you need/want ogg/vorbis support for Mplayer?  That's what is causing
> > this mess, and it might just be easier to ax it.
>
> Yes it will do it now BUT!

excellent

>
> I have got Linuxvideostudio to install at last; copied libpng.so.2 to
> /usr/X11R6/lib and that fixed it. However I cannot now get it to work so I
> tried to reinstall the rpm I just made, it complains it cannot find

rpm of what??

> libpng.so.2. This bloody lib is a real pain in the arse as I want a gui with
> MPLayer and it cannot install because it cannot fine libpng.so.2.
>
> locate finds:
> /lib/libpng.a
> /lib/libpng.so
> /lib/libpng.so.2
> /lib/libpng.so.2.1.0.8
> and also...................................................
> /usr/local/lib/pkgconfig/libpng.pc
> /usr/local/lib/libpng12.a
> /usr/local/lib/libpng.a
> /usr/local/lib/libpng12.so.0.1.2.4
> /usr/local/lib/libpng.so
> /usr/local/lib/libpng.so.3
> /usr/local/lib/libpng.so.3.1.2.4
> /usr/local/lib/libpng12.so.0
> /usr/local/lib/libpng12.so
>
> So what the hell does it need and where is it looking for the lib.
>
> BTW it is not seeing the version in /usr/X11R6/lib ?????????

You've got multiple versions of libpng all over the place.  On my box, i
have libpng-1.0.9 in /usr/lib and that's it.  When you run "ldconfig -v |
grep libpng" what do you see for output?  Do you have /usr/X11R6/lib in
/etc/ld.so.conf?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman				netllama at linux-sxs.org
Linux Step-by-step & TyGeMo		     http://netllama.ipfox.com




More information about the Linux-users mailing list