I have installed dev-lang/php-5.1.1 when it's portage, I have the iconv USE flag, but there is no iconv.so in extensions directory. So, the iconv extension are not usable. server ~ # emerge dev-lang/php -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-lang/php-5.1.1 -adabas -apache +apache2 +bcmath +berkdb -bi rdstep +bzip2 +calendar -cdb -cgi +cjk +cli +crypt +ctype +curl +curlwrappers -d b2 +dba +dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob + exif -fastbuild -fdftk +filepro -firebird +flatfile -force-cgi-redirect -frontba se +ftp +gd -gd-external +gdbm +gmp -hardenedphp -hyperwave-api +iconv +imap -in formix +inifile -interbase -iodbc +ipv6 -java-external +kerberos +ldap -libedit +mcve -memlimit +mhash +ming -msql -mssql +mysql +mysqli +ncurses +nls -oci8 (-o ci8-instant-client) +odbc +pcntl +pcre +pdo -pdo-external +pear +pic +posix +pos tgres -qdbm +readline -recode -sapdb +sasl +session +sharedext -sharedmem +simpl exml +snmp +soap +sockets -solid +spell +spl +sqlite +ssl -sybase -sybase-ct +sy svipc +threads +tidy +tokenizer +truetype -vm-goto -vm-switch +wddx +xml +xmlrea der +xmlrpc +xpm +xsl -yaz +zip +zlib 0 kB Total size of downloads: 0 kB all the extensions in /usr/lib/php5/lib/php/extensions/no-debug-zts-20050922 bcmath.so filepro.so mcrypt.so odbc.so pspell.so tidy.so bz2.so ftp.so mcve.so openssl.so snmp.so wddx.so calendar.so gettext.so mhash.so pcntl.so soap.so xmlreader.so curl.so gmp.so ming.so pdo_mysql.so sockets.so xmlrpc.so dbase.so imap.so mysqli.so pdo_odbc.so sysvmsg.so xsl.so dba.so ldap.so mysql.so pdo_pgsql.so sysvsem.so zip.so exif.so mbstring.so ncurses.so pgsql.so sysvshm.so zlib.so look there is no iconv.so, but the iconv.ini was installed in /etc/php/, so where is the iconv.so?
Iconv was never meant and cannot be built as external extension, it's directly compiled into PHP 5.0/5.1. If you enable the "iconv" USE, iconv support will show up on a phpinfo() or '/usr/lib/php5/bin/php -i' call. A little fix was introduced yesterday to make sure that iconv is not build as shared extension, ever. Anyway, that iconv.ini should not be there as it does not do anything (it may be from an older version of PHP, 5.0.4 perhaps, as Portage does not delete files in /etc), so you can safely remove it: rm /etc/php/*-php5/ext-active/iconv.ini && rm /etc/php/*-php5/ext/iconv.ini Best regards, CHTEKK.