New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19028 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

ffmpeg fails to link libavutil.dylib

Reported by: mboman@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: ffmpeg

Description

while upgrading ffmpeg, it fails to link one of its libraries

cd ./libavutil/ && ln -sf libavutil.49.dylib libavutil.dylib
gcc-4.0 -dynamiclib -Wl,-single_module -Wl,-install_name,/opt/local/lib/libswscale.dylib,-current_version,1.7.1,-compatibility_version,1 -Wl,-read_only_relocs,suppress -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.5"/libavutil -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o libswscale/libswscale.1.dylib libswscale/rgb2rgb.o libswscale/swscale.o libswscale/swscale_avoption.o libswscale/yuv2rgb.o -lavutil -L"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.5"/libavutil -lavutil -lz -lbz2 -lm -ldirac_decoder -ldirac_encoder -lfaac -lfaad -lmp3lame -lm -L/opt/local/lib -lschroedinger-1.0 -lpthread -loil-0.3 -ltheora -logg -lvorbisenc -lvorbis -logg -lx264 -lm -lxvidcore    
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _rgb24tobgr24_MMX from libswscale/rgb2rgb.o not allowed in slidable image
collect2: ld returned 1 exit status
gmake: *** [libswscale/libswscale.1.dylib] Error 1

Warning: the following items did not execute (for ffmpeg): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History

comment:1 Changed 4 years ago by mboman@…

  • Cc mboman@… added

Cc Me!

comment:2 Changed 4 years ago by jmr@…

  • Owner changed from macports-tickets@… to devans@…
  • Cc mboman@… removed

comment:3 Changed 4 years ago by devans@…

  • Status changed from new to closed
  • Resolution set to duplicate

Duplicate of #17993 (and many others). You need to upgrade your copy of XCode from 3.0 to 3.1.2.

comment:4 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.