[MPlayer-users] Configure Problem

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Aug 1 19:46:20 CEST 2008


On Thursday, 31 July 2008 at 12:39, The Wanderer wrote:
> (Quoting fixed by hand.)
> 
> 
> Masaru Nomiya wrote:
> 
> > Hello,
> > 
> > In the Message; 
> > 
> >   Subject    : Re: [MPlayer-users] Configure Problem
> >   Message-ID : <48913E39.7000208 at dishmail.net>
> >   Date & Time: Wed, 30 Jul 2008 21:23:21 -0700
> > 
> > [Mike] == Mike Giancaspro <mikegian at dishmail.net> has written:
> > 
> >> cc -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native 
> >> -mtune=native -pipe -ffast-math -fomit-frame-pointer        -o 
> >> /tmp/mplayer-conf-32454-4608 /tmp/mplayer-conf-17966-4608.c -lXext -lX11 
> >> -lpthread
> >> /usr/bin/ld: cannot find -lXext
> >> collect2: ld returned 1 exit status
> > 
> > This is a library problem.
> > Is there libXext.so.6 in your system?
> 
> Actually, in this case, you need not libfoo.so but libfoo.a. libfoo.so
> being missing would I believe cause problems at runtime, not at compile
> time.

You are not entirely correct. libfoo.a is a static library. libfoo.so
is (usually) a symlink to a shared libfoo.so.X.Y. The linker looks for
both libfoo.so and libfoo.a when linking.

Regards,
R.

-- 
MPlayer http://mplayerhq.hu | Livna http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list