Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#19028 closed defect (duplicate)

ffmpeg fails to link libavutil.dylib

Reported by: mboman@… Owned by: dbevans (David B. Evans)
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 (4)

comment:1 Changed 15 years ago by mboman@…

Cc: mboman@… added

Cc Me!

comment:2 Changed 15 years ago by jmroot (Joshua Root)

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

comment:3 Changed 15 years ago by dbevans (David B. Evans)

Resolution: duplicate
Status: newclosed

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

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.