Opened 12 years ago

Last modified 6 years ago

#36667 assigned defect

HandBrake: Undefined symbols _libiconv_close _libiconv _libiconv_open — at Version 2

Reported by: stanimura Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: snowleopard Cc:
Port: HandBrakeCLI

Description (last modified by ryandesign (Ryan Carsten Schmidt))

HandBrake 0.9.8 would not be built on MacPorts 2.1.2 and MacOSX 10.7.5. It seems a problem involved in linker command.

$ uname -v
Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64
$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)

Extracts from main.log

info:build Undefined symbols for architecture x86_64:
:info:build   "_libiconv_close", referenced from:
:info:build       _decsrtClose in libhb.a(decsrtsub.o)
:info:build       _FcSfntNameTranscode in libfontconfig.a(fcfreetype.o)
:info:build       _xmlFindCharEncodingHandler in libxml2.a(encoding.o)
:info:build       _xmlCharEncCloseFunc in libxml2.a(encoding.o)
:info:build   "_libiconv", referenced from:
:info:build       _decsrtWork in libhb.a(decsrtsub.o)
:info:build       _FcSfntNameTranscode in libfontconfig.a(fcfreetype.o)
:info:build       _xmlIconvWrapper in libxml2.a(encoding.o)
:info:build   "_libiconv_open", referenced from:
:info:build       _decsrtInit in libhb.a(decsrtsub.o)
:info:build       _FcSfntNameTranscode in libfontconfig.a(fcfreetype.o)
:info:build       _xmlFindCharEncodingHandler in libxml2.a(encoding.o)
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build 
:info:build 
:info:build ** BUILD FAILED **
:info:build 
:info:build 
:info:build The following build commands failed:
:info:build     Ld /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_HandBrake/HandBrake/work/HandBrake-0.9.8/build/xroot/HandBrakeCLI normal x86_64
:info:build (1 failure)
:info:build make: *** [macosx.build] Error 65

Change History (2)

Changed 12 years ago by stanimura

Attachment: main.log added

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: HandBrake 0.9.8_0 build failed (linker)HandBrake: Undefined symbols _libiconv_close _libiconv _libiconv_open
Note: See TracTickets for help on using tickets.