Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Trying to build mplayer from source for applying patches.

./configure works fine, but it leads me to this error

    Undefined symbols for architecture x86_64:
  "_fribidi_reorder_line", referenced from:
      _ass_shaper_reorder in ass_shaper.o
  "_fribidi_get_bidi_types", referenced from:
      _ass_shaper_shape in ass_shaper.o
  "_fribidi_get_par_embedding_levels", referenced from:
      _ass_shaper_shape in ass_shaper.o
  "_fribidi_get_joining_types", referenced from:
      _ass_shaper_shape in ass_shaper.o
  "_fribidi_join_arabic", referenced from:
      _ass_shaper_shape in ass_shaper.o
  "_fribidi_shape", referenced from:
      _ass_shaper_shape in ass_shaper.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

I can't figure out what to do now? I'm using OS X 10.7.

share|improve this question
1  
This is a programming related question. Please migrate this to stackoverflow.com –  Global nomad Dec 4 '11 at 15:17
    
This should help you out. –  Gio Dec 4 '11 at 15:26
add comment

2 Answers

What about using Homebrew?

Once installed it should be as easy as writing in the terminal

brew install mplayer
share|improve this answer
add comment

Is it necessary for you to compile from source? If not, still to this day (e.g. under Lion) I've continued to have luck installing MPlayer OSX Extended, and mplayer's own binary codecs package.

After installing MPlayer OSX Extended, I usually symlink mplayer into either ~/Applications on my own computer, or /usr/local/bin on one with multiple users, update my $PATH as necessary, and have the pleasure of having an easily invocable mplayer binary for use with anything.

The raw mplayer binary is located at /Applications/MPlayer OSX Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended.mpBinaries/Contents/MacOS/mplayer

I usually enter the Applications folder inside my home directory and then run ln -s /Applications/MPlayer\ OSX\ Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended.mpBinaries/Contents/MacOS/mplayer.

All done!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.