[MacPorts] #20025: ffmpeg 0.5 Configure error - build failure

MacPorts noreply at macports.org
Sun Jun 21 10:53:04 PDT 2009


#20025: ffmpeg 0.5 Configure error - build failure
-----------------------------+----------------------------------------------
 Reporter:  garges@…         |       Owner:  devans@…           
     Type:  defect           |      Status:  assigned           
 Priority:  Normal           |   Milestone:                     
Component:  ports            |     Version:  1.7.1              
 Keywords:                   |        Port:  ffmpeg             
-----------------------------+----------------------------------------------

Comment(by devans@…):

 Yes, the config.err output indicates the dirac is installed but there is a
 link error due to
 an unsatisfied external that it expects to be provided by libgcc

 The lines of interest are at the end

 {{{
 gcc-4.0 -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o /tmp/ffmpeg-
 conf-13521-27265-21638 /tmp/ffmpeg-conf-5311-27265-20793.o -lz -lbz2 -lm
 -ldirac_decoder
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
 ___powidf2 referenced from libdirac expected to be defined in libgcc
 }}}

 The actual library here is libdirac_decoder.dylib.  To see what other
 libraries it is linked against
 {{{
 otool -L /opt/local/lib/libdirac_decoder.dylib

 /opt/local/lib/libdirac_decoder.dylib:
         /opt/local/lib/libdirac_decoder.0.dylib (compatibility version
 2.0.0, current version 2.0.0)
         /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
 version 7.4.0)
         /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
 version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 88.1.12)
 }}}

 so in my case /usr/lib/libgcc_s.1.dylib is the libgcc being used.

 To see if the symbol in question is provided by /usr/lib/libgcc_s.1.dylib
 {{{
 nm -a /usr/lib/libgcc_s.1.dylib

 /usr/lib/libgcc_s.1.dylib(_powidf2_s.o):
 91436834 T ___powidf2
 }}}

 What are your results for these commands?

 By the way, your build environment (tiger ppc XCode 2.5) is the same as
 mine so there should
 be no platform/arch dependent problems here.

-- 
Ticket URL: <http://trac.macports.org/ticket/20025#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list