Opened 8 years ago

Closed 8 years ago

#53055 closed defect (worksforme)

ffmpeg: Undefined symbols from libavcodec "_xvid_plugin_2pass2" "_xvid_plugin_single"

Reported by: platipodium (Carsten Lemmen) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: ffmpeg

Description

ffmpeg fails to build on sierra with undefined symbols in libavcodec:

:info:build Undefined symbols for architecture x86_64:
:info:build   "_xvid_plugin_2pass2", referenced from:
:info:build       _xvid_encode_init in libxvid.o
:info:build       _ff_xvid_rate_control_init in libxvid_rc.o
:info:build       _ff_xvid_rate_estimate_qscale in libxvid_rc.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build library.mak:102: recipe for target 'libavcodec/libavcodec.57.dylib' failed
:info:build gmake: *** [libavcodec/libavcodec.57.dylib] Error 1

Attachments (1)

main.log (30.0 KB) - added by platipodium (Carsten Lemmen) 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by platipodium (Carsten Lemmen)

Attachment: main.log added

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: jeremyhu added
Owner: set to dbevans
Status: newassigned
Summary: Undefined symbols from libavcodec "_xvid_plugin_2pass2" "_xvid_plugin_single"ffmpeg: Undefined symbols from libavcodec "_xvid_plugin_2pass2" "_xvid_plugin_single"

In the future, please Cc the port maintainers (port info --maintainers ffmpeg), if any.

comment:2 Changed 8 years ago by dbevans (David B. Evans)

Status: assignedaccepted

I'm unable to reproduce this issue on Sierra and the log file attached is not that of a clean build. Please make sure your port tree is up-to-date and try again after cleaning ffmpeg. If the failure appears again you should then submit the full log produced. The log should show not only the build failure itself but all steps leading up to it, Also indicate if you are using any non-default variants.

sudo port sync
sudo port clean ffmpeg
sudo port install ffmpeg

Thanks for your help

comment:3 Changed 8 years ago by platipodium (Carsten Lemmen)

OK, this was helpful.

Error: org.macports.archivefetch for port ffmpeg returned: libsdl2 must be installed without +x11.

So I reinstalled libsdl -x11 and thereafter ffmpeg was fine.

Thanks!

comment:4 Changed 8 years ago by dbevans (David B. Evans)

Great!

comment:5 Changed 8 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: acceptedclosed
Note: See TracTickets for help on using tickets.