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

Alexander Dietz <[email protected]> Tue, 5 Jul 2022 07:54:38 +0200
Newsgroups gmane.comp.video.mplayer.user
Message-ID <CAAwoHkry5JM_8ABsmf5BwyQkDCF1oGJTCFqzn++UqdNSgkrWsA@mail.gmail.com>
Hello,

the problem seem to have been fixed by reinstalling x264

brew reinstall x264

and then cleaning and compiling mplayer again

./configure

make clean

make

On Mon, Jul 4, 2022 at 10:34 PM Alexander Strasser <[email protected]> wrote:

>
> 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
> _______________________________________________
> MPlayer-users mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>