Re: How to fix "undefined symbols" for compiling mplayer

Alexander Strasser <[email protected]> Mon, 4 Jul 2022 22:34:13 +0200
Newsgroups gmane.comp.video.mplayer.user
Message-ID <[email protected]>
Hi Alexander!

On 2022-06-23 16:30 +0200, Alexander Dietz wrote:
> 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?


Did this problem go away or am I mixing it up with an unrelated bug
report?


  Alexander