converters/php55-iconv in FreeBSD 10

Tijl Coosemans tijl at FreeBSD.org
Fri Feb 14 15:05:17 UTC 2014


On Fri, 14 Feb 2014 16:23:56 +0200 Alexander Panyushkin wrote:
> Hello All !
> I need install converters/php55-iconv in FreeBSD 10
> But this depends on the port converters/libiconv
> converters/libiconv is not installed in FreeBSD10
> 
> What would you suggest
> 
> 
> cc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib  -I../intl 
> -DDEPENDS_ON_LIBICONV=1  -DDEPENDS_ON_LIBINTL=1 -D_FORTIFY_SOURCE=2  -Oz 
> -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Qunused-arguments 
> -Qunused-parameter -Wformat -Wformat-security -c error.c
> error.c:378:12: warning: data argument not used by format string 
> [-Wformat-extra-args]
>             file_name, line_number);
>             ^
> 1 warning generated.
> rm -f libicrt.a
> ar cru libicrt.a allocator.o areadlink.o  careadlinkat.o malloca.o 
> progname.o  safe-read.o width.o xmalloc.o  xstrdup.o xreadlink.o 
> canonicalize-lgpl.o error.o
> ranlib libicrt.a
> cd src && /usr/bin/make all
> cc -c -I. -I. -I.. -I../include -I./../include -I../srclib -I./../srclib 
> -I../lib -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security 
> -D_FORTIFY_SOURCE=2 -DINSTALLDIR=\"/usr/local/bin\" 
> -DLOCALEDIR=\"/usr/local/share/locale\" ./iconv_no_i18n.c
> /bin/sh ../libtool --mode=link cc  -Oz -march=athlon64-sse3 
> -mtune=athlon64-sse3 -pipe -Qunused-arguments -Qunused-parameter 
> -Wformat -Wformat-security iconv_no_i18n.o ../srclib/libicrt.a 
> ../lib/libiconv.la  -o iconv_no_i18n
> libtool: link: cc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe 
> -Qunused-arguments -Qunused-parameter -Wformat -Wformat-security 
> iconv_no_i18n.o -o .libs/iconv_no_i18n ../srclib/libicrt.a 
> ../lib/.libs/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
> ../lib/.libs/libiconv.so: undefined reference to `aliases2_lookup'
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
> 
> Stop.
> make[3]: stopped in src
> *** Error code 1
> 
> 
> 
> 
> uname -a
> FreeBSD magnetron.intra 10.0-STABLE FreeBSD 10.0-STABLE #0 r261274: Thu 
> Jan 30 11:34:04 EET 2014 
> root at magnetron.intra:/usr/obj/usr/src/sys/Kernel  amd64

Last time someone reported this they had O_NOATIME in /usr/include/fcntl.h.
If that's the case for you too then update world+kernel.  If not, send me
/usr/ports/converters/libiconv/work/libiconv-1.14/config.log


More information about the freebsd-stable mailing list