Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137884 - emerge php failed with iconv USE set
Summary: emerge php failed with iconv USE set
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-24 14:57 UTC by Oliver Schalch
Modified: 2006-06-29 13:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Schalch 2006-06-24 14:57:46 UTC
ext/gd/libgd/gdkanji.o: In function `do_convert':
gdkanji.c:(.text+0x8c): undefined reference to `libiconv_open'
gdkanji.c:(.text+0xd1): undefined reference to `libiconv'
gdkanji.c:(.text+0xdc): undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_appendl':
iconv.c:(.text+0x177): undefined reference to `libiconv'
iconv.c:(.text+0x25f): undefined reference to `libiconv'
ext/iconv/iconv.o: In function `php_iconv_string':
iconv.c:(.text+0x32f): undefined reference to `libiconv_open'
iconv.c:(.text+0x373): undefined reference to `libiconv'
iconv.c:(.text+0x39e): undefined reference to `libiconv'
iconv.c:(.text+0x3bf): undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_strlen':
iconv.c:(.text+0x423): undefined reference to `libiconv_open'
iconv.c:(.text+0x48f): undefined reference to `libiconv'
iconv.c:(.text+0x4b5): undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_strpos':
iconv.c:(.text+0x542): undefined reference to `libiconv_open'
iconv.c:(.text+0x5b0): undefined reference to `libiconv'
iconv.c:(.text+0x64c): undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `_php_iconv_mime_decode':
iconv.c:(.text+0x7e1): undefined reference to `libiconv_open'
iconv.c:(.text+0x8d3): undefined reference to `libiconv_close'
iconv.c:(.text+0x8e4): undefined reference to `libiconv_close'
iconv.c:(.text+0xa2a): undefined reference to `libiconv_close'
iconv.c:(.text+0xa3c): undefined reference to `libiconv_open'
ext/iconv/iconv.o: In function `zif_iconv_substr':
iconv.c:(.text+0x1216): undefined reference to `libiconv_open'
iconv.c:(.text+0x12c2): undefined reference to `libiconv'
iconv.c:(.text+0x1309): undefined reference to `libiconv_close'
iconv.c:(.text+0x131b): undefined reference to `libiconv_close'
iconv.c:(.text+0x14b5): undefined reference to `libiconv_open'
ext/iconv/iconv.o: In function `zif_iconv_mime_encode':
iconv.c:(.text+0x1a17): undefined reference to `libiconv_open'
iconv.c:(.text+0x1a36): undefined reference to `libiconv_open'
iconv.c:(.text+0x1c75): undefined reference to `libiconv_close'
iconv.c:(.text+0x1c8c): undefined reference to `libiconv_close'
iconv.c:(.text+0x1e43): undefined reference to `libiconv'
iconv.c:(.text+0x1e80): undefined reference to `libiconv'
iconv.c:(.text+0x1eb8): undefined reference to `libiconv'
iconv.c:(.text+0x21da): undefined reference to `libiconv'
iconv.c:(.text+0x2211): undefined reference to `libiconv'
ext/iconv/iconv.o:iconv.c:(.text+0x249d): more undefined references to `libiconv' follow
ext/iconv/iconv.o: In function `php_iconv_stream_filter_dtor':
iconv.c:(.text+0x32ff): undefined reference to `libiconv_close'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_append_bucket':
iconv.c:(.text+0x33e3): undefined reference to `libiconv'
iconv.c:(.text+0x342e): undefined reference to `libiconv'
iconv.c:(.text+0x34fc): undefined reference to `libiconv'
ext/iconv/iconv.o: In function `php_iconv_stream_filter_factory_create':
iconv.c:(.text+0x3859): undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

!!! ERROR: dev-lang/php-5.1.4 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  php-5.1.4.ebuild, line 107:   Called src_compile_normal
  php-5.1.4.ebuild, line 213:   Called php5_1-sapi_src_compile
  php5_1-sapi.eclass, line 574:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-24 15:04:04 UTC
emerge --info, please. Also, you have dev-libs/libiconv installed by chance?
Comment 2 Oliver Schalch 2006-06-24 18:55:28 UTC
Mhh i tried all, googled and stuff, fond no solution, tought it schould be solved in depencies:

trifid ~ # emerge -pv dev-libs/libiconv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[blocks B     ] sys-libs/glibc (is blocking dev-libs/libiconv-1.9.2-r3)
[ebuild  N    ] dev-libs/libiconv-1.9.2-r3  USE="-build" 3,828 kB

trifid ~ # emerge --info
Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.solnet.ch "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dri eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 iconv imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls nptl ogg opengl oss pam pcre pdflib perl php png pppd python quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


probably just my system is messed up, if yes, sorry for the troubels :(
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-25 03:59:08 UTC
Well, I'd suggest that you re-emerge glibc, seems to be really messed up.
Comment 4 Oliver Schalch 2006-06-29 13:14:32 UTC
well re-emergin my glibc didnt solve the problem :(
Comment 5 Oliver Schalch 2006-06-29 13:44:15 UTC
trifid ~ # readelf -s /lib/libc.so.6 | grep iconv
   533: 00015ce0   272 FUNC    GLOBAL DEFAULT   11 iconv_open@@GLIBC_2.1
  1364: 00015f70    57 FUNC    GLOBAL DEFAULT   11 iconv_close@@GLIBC_2.1
  1624: 00015df0   372 FUNC    GLOBAL DEFAULT   11 iconv@@GLIBC_2.1