MPlayer failing to install

Bryan Blackburn blb at macports.org
Sat Dec 20 12:56:06 PST 2008


On Sat, Dec 20, 2008 at 11:36:17AM -0500, Tim Visher said:
> Hello Everyone,
> 
> I'm trying to get MPlayer installed again after my upgrade fiascos and
> I'm encountering an error I don't know how to resolve.  I'm issuing
> `sudo port install mplayer +osd +fribidi +smb +theora +xvid +x264
> +binary_codecs +speex +faac +dv +twolame +dts +sdl +aa +caca` and all
> of the dependencies build just fine.  However, when it gets to
> mplayer, it fails with [this output](http://pastebin.com/m69578cb8).

From the output:
> /usr/bin/gcc-4.0 -o mplayer mplayer.o m_property.o mp_fifo.o mp_msg.o mixer.o parser-mpcmd.o subopt-helper.o command.o asxparser.o codec-cfg.o cpudetect.o edl.o find_sub.o get_path.o m_config.o m_option.o m_struct.o mpcommon.o parser-cfg.o playtree.o playtreeparser.o spudec.o sub_cc.o subreader.o vobsub.o libvo/libvo.a libao2/libao2.a input/libinput.a libmenu/libmenu.a libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a stream/stream.a libswscale/libswscale.a libvo/libosd.a libavformat/libavformat.a libavcodec/libavcodec.a libavutil/libavutil.a libpostproc/libpostproc.a loader/libloader.a mp3lib/libmp3.a liba52/liba52.a libmpeg2/libmpeg2.a libfaad2/libfaad2.a tremor/libvorbisidec.a dvdread/libdvdread.a libdvdcss/libdvdcss.a osdep/libosdep.a -laa -lcaca -lX11 -lncurses -lncurses -L/usr/X11/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib/samba3 -L/usr/local/lib -liconv -lncurses -framework Carbon -framework QuickTime -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework Cocoa -framework QuartzCore -framework OpenGL -framework IOKit -lsmbclient -lpng -lz -ljpeg -lgif -framework IOKit -L/opt/local/lib -lfreetype -lz -llzo2 -lmad -ltheora -logg     -lm
> ld: library not found for -lgif

It looks like it isn't finding the GIF library, which should be installed
with the giflib port; MPlayer does declare a dependency on giflib, so it
should have been installed.  Does it show up with 'port installed giflib'?

Bryan


> 
> Thoughts?
> 
> -- 
> 
> In Christ,
> 
> Timmy V.
> 
> http://burningones.com/
> http://five.sentenc.es/ - Spend less time on e-mail


More information about the macports-users mailing list