Date: Sun, 18 Aug 2013 06:57:25 +0900 (JST) From: Kenichi Niioka <niioka@kk.iij4u.or.jp> To: freebsd-ports@FreeBSD.org Subject: Re: mozc-tool 1.11.1502.102 build fail Message-ID: <20130818.065725.758771615164437448.ken@iij4u.or.jp> In-Reply-To: <20130807.224204.709676711689595385.ken@iij4u.or.jp> References: <20130807.224204.709676711689595385.ken@iij4u.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
From: niioka@kk.iij4u.or.jp Subject: mozc-tool 1.11.1502.102 build fail Date: Wed, 07 Aug 2013 22:42:04 +0900 (JST) > CXX(target) out_linux/Release/obj.target/word_register_dialog_lib/gui/word_register_dialog/word_register_dialog_libmain.o > AR(target) out_linux/Release/obj.target/gui/libcharacter_pad_lib.a > AR(target) out_linux/Release/obj.target/client/libclient.a > AR(target) out_linux/Release/obj.target/gui/libconfig_dialog_lib.a > AR(target) out_linux/Release/obj.target/session/libkey_parser.a > AR(target) out_linux/Release/obj.target/session/libkeymap.a > AR(target) out_linux/Release/obj.target/session/libkey_event_util.a > AR(target) out_linux/Release/obj.target/gui/libdictionary_tool_lib.a > AR(target) out_linux/Release/obj.target/gui/libgui_base.a > AR(target) out_linux/Release/obj.target/gui/libpost_install_dialog_lib.a > AR(target) out_linux/Release/obj.target/gui/libset_default_dialog_lib.a > AR(target) out_linux/Release/obj.target/gui/libword_register_dialog_lib.a > CXX(target) out_linux/Release/obj.target/mozc_tool/gui/tool/mozc_tool_main.o > LINK(target) out_linux/Release/mozc_tool > /usr/bin/ld: : invalid DSO for symbol `libiconv_open' definition > /usr/local/lib/libiconv.so.3: could not read symbols: Bad value > c++: error: linker command failed with exit code 1 (use -v to see invocation) > gmake[4]: *** [out_linux/Release/mozc_tool] Error 1 I tried following patch on FreeBSD 10.0-CURRENT r254221 amd64. I'm not sure whether it is the right way or not. But it seems to be fine. Thanks. --- japanese/mozc-server/Makefile.orig 2013-08-17 21:33:36.000000000 +0900 +++ japanese/mozc-server/Makefile 2013-08-17 21:38:00.000000000 +0900 @@ -16,7 +16,8 @@ LICENSE_FILE= ${WRKSRC}/third_party/gyp/ EXTRACT_DEPENDS=${PYTHON_CMD}:${PYTHON_PORTSDIR} LIB_DEPENDS= protobuf:${PORTSDIR}/devel/protobuf \ - zinnia:${PORTSDIR}/japanese/zinnia + zinnia:${PORTSDIR}/japanese/zinnia \ + iconv:${PORTSDIR}/converters/libiconv RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils USES= pkgconfig iconv @@ -24,7 +25,7 @@ USE_BZIP2= yes USE_GMAKE= yes USE_PYTHON_BUILD=yes USE_OPENSSL= yes - +LDFLAGS+= -L${LOCALBASE}/lib -liconv BUILD_MOZC_LIST?= mozc_server -- Kenichi Niioka
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130818.065725.758771615164437448.ken>