Tyler Scott
Tyler Scott

Reputation: 1046

VLC libx264 build error - "undefined reference to 'x264_encoder_open_128'"

Primary issue

Steps to attempt to repeat this error.

This will then fall out and exit make. I have removed all apt packages relating to x264. I have searched my computer for any possible libraries that might be related and removed them. This problem persists. Can someone explain what is going wrong and the simplest way to solve this?

Additional info

This error also shows up when building avconv. It also fails at linking time with the same error. So I can assume it is nothing wrong with that directory or source.

Upvotes: 2

Views: 2786

Answers (1)

nobody555
nobody555

Reputation: 221

That is error of linking with libavcodec.a which depends on old version of libx264. If you need only libx264 than you can compile it without lavf support (./configure --disable-lavf). If you need x264 with lavf support than you need to recompile libavcodec.a without libx264. i.e. you need to break circular dependencies between libavcodec and libx264.

Upvotes: 3

Related Questions