converters/php55-iconv in FreeBSD 10
Marcelo Gondim
gondim at bsdinfo.com.br
Fri Feb 14 16:07:29 UTC 2014
Hi,
Look this before:
20130904:
AFFECTS: 10-CURRENT users with any port depending on converters/libiconv
AUTHOR: madpilot at FreeBSD.org
10-CURRENT after r254273 (committed on August 13, 2013) has an
implementation of iconv enabled by default in libc.
Due to this change some major overhauling of the ports tree has
been necessary to move the ports to using that implementation.
People using pkgng binary packages should have little problems,
"pkg upgrade" will update all software to not depend on libiconv
anymore, once updated packages are available. Please make sure to
perform a "pkg autoremove" after that and check that libiconv is
correctly removed by it.
If you are using ports the update requires some manual intervention.
The following procedure should be followed:
# pkg query %ro libiconv >ports_to_update
# pkg delete -f libiconv
# cat ports_to_update | xargs portmaster
or:
# pkg query %ro libiconv >ports_to_update
# pkg delete -f libiconv
# cat ports_to_update | xargs portupgrade -f
and try it:
pkg delete -f php55-iconv
and after re-install port php55-iconv
Em 14/02/14 12:23, Alexander Panyushkin escreveu:
> 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 /usr/ports/converters/libiconv/work/libiconv-1.14/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
>
More information about the freebsd-stable
mailing list