Opened 15 years ago

Closed 15 years ago

#20025 closed defect (worksforme)

corrupt/misbuilt dirac causes ffmpeg 0.5 Configure error - build failure

Reported by: garges@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: ffmpeg Cc:
Port: dirac

Description

Configure gives "Error: libdirac not found" even though it successfully installed port dirac.

czar$ sudo port -v install ffmpeg      
Password:
--->  Configuring ffmpeg
ERROR: libdirac not found
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/ffmpeg-0.5" && ./configure --prefix=/opt/local --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=gcc-4.0 " returned error 1
Command output: ERROR: libdirac not found
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.

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

Change History (8)

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

Owner: changed from macports-tickets@… to devans@…
Port: ffmpeg added

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

Status: newassigned

I can't reproduce this on my machine so I need some more information from you

platform information (os version, hardware arch, XCode version, MacPorts version)

error log from ffmpeg configure, config.err in your build directory

cd `port dir ffmpeg`/work/ffmpeg-0.5
ls config.err

the relevant lines in my log file are as follows

check_lib libdirac_decoder/dirac_parser.h dirac_decoder_init -ldirac_decoder
check_header libdirac_decoder/dirac_parser.h
check_cpp
BEGIN /tmp/ffmpeg-conf-25410-16798-13803.c
    1   #include <libdirac_decoder/dirac_parser.h>
    2   int x;
END /tmp/ffmpeg-conf-25410-16798-13803.c
gcc-4.0 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -maltivec -mabi=altivec -I/opt/local/include/dirac -E -o /tmp/ffmpeg-conf-23037-16798-6818.o /tmp/ffmpeg-conf-25410-16798-13803.c
check_func dirac_decoder_init
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-25410-16798-13803.c
    1   extern int dirac_decoder_init();
    2   int main(void){ dirac_decoder_init(); }
END /tmp/ffmpeg-conf-25410-16798-13803.c
gcc-4.0 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -maltivec -mabi=altivec -I/opt/local/include/dirac -c -o /tmp/ffmpeg-conf-23037-16798-6818.o /tmp/ffmpeg-conf-25410-16798-13803.c
gcc-4.0 -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o /tmp/ffmpeg-conf-1638-16798-29154 /tmp/ffmpeg-conf-23037-16798-6818.o -lz -lbz2 -lm -ldirac_decoder
check_lib libdirac_encoder/dirac_encoder.h dirac_encoder_init -ldirac_encoder
check_header libdirac_encoder/dirac_encoder.h
check_cpp
BEGIN /tmp/ffmpeg-conf-25410-16798-13803.c
    1   #include <libdirac_encoder/dirac_encoder.h>
    2   int x;
END /tmp/ffmpeg-conf-25410-16798-13803.c
gcc-4.0 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -maltivec -mabi=altivec -I/opt/local/include/dirac -E -o /tmp/ffmpeg-conf-23037-16798-6818.o /tmp/ffmpeg-conf-25410-16798-13803.c
check_func dirac_encoder_initcheck_ldcheck_cc
BEGIN /tmp/ffmpeg-conf-25410-16798-13803.c    1   extern int dirac_encoder_init();
    2   int main(void){ dirac_encoder_init(); }
END /tmp/ffmpeg-conf-25410-16798-13803.c
gcc-4.0 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -maltivec -mabi=altivec -I/opt/local/include/dirac -c -o /tmp/ffmpeg-conf-23037-16798-6818.o /tmp/ffmpeg-conf-25410-16798-13803.c
gcc-4.0 -Wl,-dynamic,-search_paths_first -L/opt/local/lib -o /tmp/ffmpeg-conf-1638-16798-29154 /tmp/ffmpeg-conf-23037-16798-6818.o -lz -lbz2 -lm -ldirac_decoder -ldirac_encoder

yours should indicate what went wrong on your system

comment:3 Changed 15 years ago by garges@…

System Version: Mac OS X 10.4.11 (8S165) Kernel Version: Darwin 8.11.0

Macintosh Powerbook G4 17" 1.67GHz 2Gb RAM

XCode 2.5

MacPorts 1.7.1

Last 21 lines of config.err:

$ cd `port dir ffmpeg`/work/ffmpeg-0.5
czars-powerbook59:/opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/ffmpeg/work/ffmpeg-0.5 garges$ tail -21 config.err
check_lib libdirac_decoder/dirac_parser.h dirac_decoder_init -ldirac_decoder
check_header libdirac_decoder/dirac_parser.h
check_cpp
BEGIN /tmp/ffmpeg-conf-27316-27265-17332.c
    1   #include <libdirac_decoder/dirac_parser.h>
    2   int x;
END /tmp/ffmpeg-conf-27316-27265-17332.c
gcc-4.0 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -maltivec -mabi=altivec -I/opt/local/include/dirac -E -o /tmp/ffmpeg-conf-5311-27265-20793.o /tmp/ffmpeg-conf-27316-27265-17332.c
check_func dirac_decoder_init
check_ld
check_cc
BEGIN /tmp/ffmpeg-conf-27316-27265-17332.c
    1   extern int dirac_decoder_init();
    2   int main(void){ dirac_decoder_init(); }
END /tmp/ffmpeg-conf-27316-27265-17332.c
gcc-4.0 -O2 -DHAVE_LRINTF -I/opt/local/include -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -maltivec -mabi=altivec -I/opt/local/include/dirac -c -o /tmp/ffmpeg-conf-5311-27265-20793.o /tmp/ffmpeg-conf-27316-27265-17332.c
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
collect2: ld returned 1 exit status
ERROR: libdirac not found

But I think I have libdirac:

$ port info dirac
dirac @1.0.2 (multimedia)
Variants:    doc

Dirac is a general-purpose video codec aimed at resolutions from QCIF (176x144) to HDTV (1920x1080) progressive or interlaced. It uses wavelets, motion compensation and
arithmetic coding and aims to be competitive with other state of the art codecs.
Homepage:    http://diracvideo.org/

Library Dependencies: cppunit
Platforms:            darwin
Maintainers:          devans@macports.org

$ cd /opt/local/lib
$ ls -l libdir*
-rwxr-xr-x   2 root  admin   464148 Jun 17 19:14 libdirac_decoder.0.dylib
-rw-r--r--   2 root  admin   914068 Jun 17 19:14 libdirac_decoder.a
lrwxr-xr-x   1 root  admin       24 Jun 17 19:15 libdirac_decoder.dylib -> libdirac_decoder.0.dylib
-rwxr-xr-x   2 root  admin      983 Jun 17 19:14 libdirac_decoder.la
-rwxr-xr-x   2 root  admin   682904 Jun 17 19:14 libdirac_encoder.0.dylib
-rw-r--r--   2 root  admin  1260276 Jun 17 19:14 libdirac_encoder.a
lrwxr-xr-x   1 root  admin       24 Jun 17 19:15 libdirac_encoder.dylib -> libdirac_encoder.0.dylib
-rwxr-xr-x   2 root  admin      983 Jun 17 19:14 libdirac_encoder.la

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

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.

comment:5 Changed 15 years ago by garges@…

Here's what I got:

$ 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/libmx.A.dylib (compatibility version 1.0.0, current version 93.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.12)

$ nm -a /usr/lib/libgcc_s.1.dylib

/usr/lib/libgcc_s.1.dylib(dylib1.o):
9143536c t ___initialize_Cplusplus
9143534c t __dyld_func_lookup
         u __mh_dylib_header
91435344 t cfm_stub_binding_helper
a1434000 d dyld__mh_dylib_header
a1434014 s dyld_func_lookup_pointer
a1434010 s dyld_lazy_symbol_binding_entry_point
91435314 t dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_muldi3_s.o):
914353e4 T ___muldi3

/usr/lib/libgcc_s.1.dylib(_negdi2_s.o):
91435448 T ___negdi2

/usr/lib/libgcc_s.1.dylib(_lshrdi3_s.o):
91435480 T ___lshrdi3

/usr/lib/libgcc_s.1.dylib(_ashldi3_s.o):
914354e4 T ___ashldi3

/usr/lib/libgcc_s.1.dylib(_ashrdi3_s.o):
91435548 T ___ashrdi3

/usr/lib/libgcc_s.1.dylib(_cmpdi2_s.o):
914355ac T ___cmpdi2

/usr/lib/libgcc_s.1.dylib(_ucmpdi2_s.o):
914355fc T ___ucmpdi2

/usr/lib/libgcc_s.1.dylib(_floatdidf_s.o):
9143564c T ___floatdidf

/usr/lib/libgcc_s.1.dylib(_floatdisf_s.o):
914356ac T ___floatdisf

/usr/lib/libgcc_s.1.dylib(_fixunsdfsi_s.o):
91435768 T ___fixunsdfsi

/usr/lib/libgcc_s.1.dylib(_fixunssfsi_s.o):
914357b4 T ___fixunssfsi

/usr/lib/libgcc_s.1.dylib(_fixunsdfdi_s.o):
91435800 T ___fixunsdfdi

/usr/lib/libgcc_s.1.dylib(_fixdfdi_s.o):
914358cc T ___fixdfdi
         U ___fixunsdfdi
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_fixunssfdi_s.o):
9143592c T ___fixunssfdi

/usr/lib/libgcc_s.1.dylib(_fixsfdi_s.o):
914359f8 T ___fixsfdi
         U ___fixunssfdi
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_fixxfdi_s.o):

/usr/lib/libgcc_s.1.dylib(_fixunsxfdi_s.o):

/usr/lib/libgcc_s.1.dylib(_floatdixf_s.o):

/usr/lib/libgcc_s.1.dylib(_fixunsxfsi_s.o):

/usr/lib/libgcc_s.1.dylib(_fixtfdi_s.o):
91435a58 T ___fixtfdi
         U ___fixunstfdi
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_fixunstfdi_s.o):
         U ___cmpdi2
91435ad8 T ___fixunstfdi
         U ___floatditf
         U ___gcc_qadd
         U ___gcc_qmul
         U ___gcc_qsub
         u dyld_stub_binding_helper
         u restFP
         u saveFP

/usr/lib/libgcc_s.1.dylib(_floatditf_s.o):
91435ebc T ___floatditf
         U ___gcc_qadd
         U ___gcc_qmul
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_clear_cache_s.o):
91435fdc T ___clear_cache

/usr/lib/libgcc_s.1.dylib(_enable_execute_stack_s.o):
91435fe0 T ___enable_execute_stack

/usr/lib/libgcc_s.1.dylib(_trampoline_s.o):

/usr/lib/libgcc_s.1.dylib(__main_s.o):
91435fe4 t ___do_global_dtors

/usr/lib/libgcc_s.1.dylib(_absvsi2_s.o):
91435fe8 T ___absvsi2
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_absvdi2_s.o):
91436018 T ___absvdi2
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_addvsi3_s.o):
91436060 T ___addvsi3
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_addvdi3_s.o):
914360b4 T ___addvdi3
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_subvsi3_s.o):
91436118 T ___subvsi3
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_subvdi3_s.o):
9143616c T ___subvdi3
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_mulvsi3_s.o):
914361d0 T ___mulvsi3
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_mulvdi3_s.o):
91436210 T ___mulvdi3
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_negvsi2_s.o):
91436524 T ___negvsi2
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_negvdi2_s.o):
91436564 T ___negvdi2
         U _abort
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(_ctors_s.o):

/usr/lib/libgcc_s.1.dylib(_ffssi2_s.o):
914365b4 t ___ffssi2

/usr/lib/libgcc_s.1.dylib(_ffsdi2_s.o):
914365d8 T ___ffsdi2

/usr/lib/libgcc_s.1.dylib(_clz_s.o):
9143f714 s ___clz_tab

/usr/lib/libgcc_s.1.dylib(_clzsi2_s.o):
91436628 T ___clzsi2

/usr/lib/libgcc_s.1.dylib(_clzdi2_s.o):
91436630 T ___clzdi2

/usr/lib/libgcc_s.1.dylib(_ctzsi2_s.o):
9143665c T ___ctzsi2

/usr/lib/libgcc_s.1.dylib(_ctzdi2_s.o):
91436670 T ___ctzdi2

/usr/lib/libgcc_s.1.dylib(_popcount_tab_s.o):
9143f814 s ___popcount_tab

/usr/lib/libgcc_s.1.dylib(_popcountsi2_s.o):
         u ___popcount_tab
914366b0 T ___popcountsi2

/usr/lib/libgcc_s.1.dylib(_popcountdi2_s.o):
         u ___popcount_tab
914366f8 T ___popcountdi2

/usr/lib/libgcc_s.1.dylib(_paritysi2_s.o):
91436760 T ___paritysi2

/usr/lib/libgcc_s.1.dylib(_paritydi2_s.o):
9143678c T ___paritydi2

/usr/lib/libgcc_s.1.dylib(_powisf2_s.o):
914367cc T ___powisf2

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

/usr/lib/libgcc_s.1.dylib(_powixf2_s.o):

/usr/lib/libgcc_s.1.dylib(_powitf2_s.o):
         U ___gcc_qdiv
         U ___gcc_qmul
9143689c T ___powitf2
         u dyld_stub_binding_helper
         u restFP
         u saveFP

/usr/lib/libgcc_s.1.dylib(_mulsc3_s.o):
914369a4 T ___mulsc3

/usr/lib/libgcc_s.1.dylib(_muldc3_s.o):
91436dd0 T ___muldc3

/usr/lib/libgcc_s.1.dylib(_mulxc3_s.o):

/usr/lib/libgcc_s.1.dylib(_multc3_s.o):
         U ___gcc_qadd
         U ___gcc_qmul
         U ___gcc_qsub
91437294 T ___multc3
         u dyld_stub_binding_helper
         u restFP
         u saveFP

/usr/lib/libgcc_s.1.dylib(_divsc3_s.o):
91437e50 T ___divsc3

/usr/lib/libgcc_s.1.dylib(_divdc3_s.o):
91438158 T ___divdc3

/usr/lib/libgcc_s.1.dylib(_divxc3_s.o):

/usr/lib/libgcc_s.1.dylib(_divtc3_s.o):
914384e0 T ___divtc3
         U ___gcc_qadd
         U ___gcc_qdiv
         U ___gcc_qmul
         U ___gcc_qsub
         u dyld_stub_binding_helper
         u restFP
         u saveFP

/usr/lib/libgcc_s.1.dylib(_divdi3_s.o):
91438f6c T ___divdi3

/usr/lib/libgcc_s.1.dylib(_moddi3_s.o):
914393cc T ___moddi3

/usr/lib/libgcc_s.1.dylib(_udivdi3_s.o):
91439824 T ___udivdi3

/usr/lib/libgcc_s.1.dylib(_umoddi3_s.o):
91439c0c T ___umoddi3

/usr/lib/libgcc_s.1.dylib(_udiv_w_sdiv_s.o):
91439fb0 t ___udiv_w_sdiv

/usr/lib/libgcc_s.1.dylib(_udivmoddi4_s.o):
91439fb8 T ___udivmoddi4

/usr/lib/libgcc_s.1.dylib(darwin-tramp_s.o):
9143a4bc T ___trampoline_setup
         U _abort
         u dyld_stub_binding_helper
00000028 a trampoline_size

/usr/lib/libgcc_s.1.dylib(darwin-fpsave_s.o):
9143a578 t restFP
9143a528 t saveFP

/usr/lib/libgcc_s.1.dylib(darwin-ldouble_s.o):
9143a5cc T ___gcc_qadd
9143a74c T ___gcc_qdiv
9143a6b8 T ___gcc_qmul
9143a6ac T ___gcc_qsub

/usr/lib/libgcc_s.1.dylib(unwind-dw2_s.o):
9143c594 T __Unwind_Backtrace
9143ad94 T __Unwind_DeleteException
00000000 a __Unwind_DeleteException.eh
9143ab70 T __Unwind_FindEnclosingFunction
         U __Unwind_Find_FDE
9143c73c T __Unwind_ForcedUnwind
9143c650 t __Unwind_ForcedUnwind_Phase2
9143aaec T __Unwind_GetCFA
00000000 a __Unwind_GetCFA.eh
9143a7f4 T __Unwind_GetDataRelBase
00000000 a __Unwind_GetDataRelBase.eh
9143aa88 T __Unwind_GetGR
00000000 a __Unwind_GetGR.eh
9143ab58 T __Unwind_GetIP
00000000 a __Unwind_GetIP.eh
9143ab68 T __Unwind_GetLanguageSpecificData
00000000 a __Unwind_GetLanguageSpecificData.eh
9143a7fc T __Unwind_GetRegionStart
00000000 a __Unwind_GetRegionStart.eh
9143a7ec T __Unwind_GetTextRelBase
00000000 a __Unwind_GetTextRelBase.eh
9143cac4 T __Unwind_RaiseException
9143c8a4 t __Unwind_RaiseException_Phase2
9143c95c T __Unwind_Resume
9143ccbc T __Unwind_Resume_or_Rethrow
9143aaf4 T __Unwind_SetGR
00000000 a __Unwind_SetGR.eh
9143ab60 T __Unwind_SetIP
00000000 a __Unwind_SetIP.eh
         u __Unwind_fallback_frame_state_for
9143b650 t ___frame_state_for
         U _abort
9143a804 t _base_of_encoded_value
00000000 a _base_of_encoded_value.eh
a14340a0 b _dwarf_reg_size_table
9143adb4 t _execute_cfa_program
00000000 a _execute_cfa_program.eh
9143b840 t _execute_stack_op
00000000 a _execute_stack_op.eh
9143aba8 t _init_dwarf_reg_size_table
00000000 a _init_dwarf_reg_size_table.eh
         U _memcpy
         U _memset
a1434008 d _once_regsizes.5994
         U _pthread_once
9143a924 t _read_encoded_value_with_base
00000000 a _read_encoded_value_with_base.eh
9143a8d8 t _read_sleb128
00000000 a _read_sleb128.eh
9143a8a8 t _read_uleb128
00000000 a _read_uleb128.eh
         U _strlen
9143b36c t _uw_frame_state_for
9143c268 t _uw_init_context_1
9143b740 t _uw_install_context_1
00000000 a _uw_install_context_1.eh
9143c51c t _uw_update_context
00000000 a _uw_update_context.eh
9143c0cc t _uw_update_context_1
00000000 a _uw_update_context_1.eh
         u dyld_stub_binding_helper
         u restFP
         u saveFP

/usr/lib/libgcc_s.1.dylib(unwind-dw2-fde-darwin_s.o):
9143e1d0 T __Unwind_Find_FDE
9143d2d4 T ___deregister_frame
9143d2d0 T ___deregister_frame_info
00000000 a ___deregister_frame_info.eh
9143d1bc T ___deregister_frame_info_bases
9143d0dc T ___register_frame
00000000 a ___register_frame.eh
9143d0d0 T ___register_frame_info
00000000 a ___register_frame_info.eh
9143d070 T ___register_frame_info_bases
00000000 a ___register_frame_info_bases.eh
9143d178 T ___register_frame_info_table
00000000 a ___register_frame_info_table.eh
9143d134 T ___register_frame_info_table_bases
00000000 a ___register_frame_info_table_bases.eh
9143d184 T ___register_frame_table
00000000 a ___register_frame_table.eh
         U __keymgr_get_and_lock_processwide_ptr
         U __keymgr_set_and_unlock_processwide_ptr
         U __keymgr_unlock_processwide_ptr
         U _abort
9143da3c t _add_fdes
00000000 a _add_fdes.eh
9143d31c t _base_from_object
00000000 a _base_from_object.eh
         U _calloc
9143d6cc t _classify_object_over_fdes
00000000 a _classify_object_over_fdes.eh
9143e590 t _fde_mixed_encoding_compare
00000000 a _fde_mixed_encoding_compare.eh
9143d49c t _fde_single_encoding_compare
00000000 a _fde_single_encoding_compare.eh
9143d474 t _fde_unencoded_compare
00000000 a _fde_unencoded_compare.eh
9143d534 t _frame_downheap
9143d618 t _frame_heapsort
         U _free
9143d38c t _get_cie_encoding
00000000 a _get_cie_encoding.eh
         U _getsectdatafromheader
9143d8dc t _linear_search_fdes
00000000 a _linear_search_fdes.eh
9143d820 t _live_image_destructor
         U _malloc
a1434134 b _marker.2966
a1434140 b _object_mutex
9143cf0c t _read_encoded_value_with_base
00000000 a _read_encoded_value_with_base.eh
9143cec0 t _read_sleb128
00000000 a _read_sleb128.eh
9143ce90 t _read_uleb128
00000000 a _read_uleb128.eh
9143db90 t _search_object
a143413c b _seen_objects
9143ce20 t _size_of_encoded_value
00000000 a _size_of_encoded_value.eh
         U _strlen
a1434138 b _unseen_objects
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(unwind-sjlj_s.o):

/usr/lib/libgcc_s.1.dylib(unwind-c_s.o):
         U __Unwind_GetDataRelBase
         U __Unwind_GetIP
         U __Unwind_GetLanguageSpecificData
         U __Unwind_GetRegionStart
         U __Unwind_GetTextRelBase
         U __Unwind_SetGR
         U __Unwind_SetIP
9143e8c4 T ___gcc_personality_v0
         U _abort
9143e64c t _base_of_encoded_value
00000000 a _base_of_encoded_value.eh
9143e720 t _read_encoded_value_with_base
00000000 a _read_encoded_value_with_base.eh
9143e6f0 t _read_uleb128
00000000 a _read_uleb128.eh
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(darwin-fallback_s.o):
         U __Unwind_GetCFA
         U __Unwind_GetGR
         U __Unwind_GetIP
9143eae0 t __Unwind_fallback_frame_state_for
a1434144 b _return_addr.4805
         u dyld_stub_binding_helper

/usr/lib/libgcc_s.1.dylib(link editor):
91434000 t __mh_dylib_header

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

Summary of results so far

  • my /usr/lib/libgcc_s.1.dylib contains _powidf2
  • so does yours (its easier to see with nm -a /usr/lib/libgcc_s.1.dylib | grep powidf2
  • your /opt/local/lib/libdirac_decoder.dylib references /usr/lib/libmx.A.dylib but mine doesn't although /usr/lib/libmx.A.dylib exists on my system

I'm not really sure what is going on here as the unsatisfied external does seem to exist in libgcc.

Perhaps you should do the following on the chance that something is fouled up with your build of dirac

sudo port -fn upgrade dirac
sudo port clean ffmpeg
sudo port -d configure ffmpeg

and see if anything changes.

If anyone else has an idea about this please speak up. Thanks.

comment:7 Changed 15 years ago by garges@…

Tried the re-install idea:

$ sudo port -fn upgrade dirac
Password:
--->  Fetching dirac
--->  Verifying checksum(s) for dirac
--->  Extracting dirac
--->  Applying patches to dirac
--->  Configuring dirac
--->  Building dirac
--->  Staging dirac into destroot
--->  Deactivating dirac @1.0.2_0
--->  Uninstalling dirac @1.0.2_0
--->  Installing dirac @1.0.2_0
--->  Activating dirac @1.0.2_0
--->  Cleaning dirac

And then ffmpeg configured and installed no problem. Thanks for the help.

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

Keywords: ffmpeg added
Port: dirac added; ffmpeg removed
Resolution: worksforme
Status: assignedclosed
Summary: ffmpeg 0.5 Configure error - build failurecorrupt/misbuilt dirac causes ffmpeg 0.5 Configure error - build failure

Well, it looks like your dirac got corrupted or misbuilt the last time. Glad its working for you now.

Note: See TracTickets for help on using tickets.