[MPlayer-users] How to fix "undefined symbols" for compiling mplayer

Alexander Dietz alexdietz380 at gmail.com
Thu Jun 23 17:30:27 EEST 2022


When I try to compile mplayer on MacOS (12.4) I get an error

    Undefined symbols for architecture x86_64:
      "_x264_encoder_open_163", referenced from:
          _X264_init in libavcodec.a(libx264.o)
    Undefined symbols for architecture x86_64:
      "_x264_encoder_open_163", referenced from:
          _X264_init in libavcodec.a(libx264.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see
invocation)
    make: *** [mencoder] Error 1
    make: *** Waiting for unfinished jobs....
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see
invocation)
    make: *** [mplayer] Error 1

Any ideas how to fix this?


More information about the MPlayer-users mailing list