On Thu, Jan 20, 2011 at 9:57 AM, Randell
<josephrandell.benavi...@gmail.com>wrote:

>
>
> On Thu, Jan 20, 2011 at 9:49 AM, Jimmy Lim <jimmyb...@gmail.com> wrote:
>
>> Hi Randell,
>>
>> From the libiconv site, there are two ways to install it, the library mode
>> (the one that you did) and the other one is the libc plug/override mode.
>>
>> By executing iconv -V gives you the glibc version installed on your
>> CentOS.
>>
>> rpm -q -f /usr/bin/iconv
>> glibc-common-2.5-49
>>
>> From the GNU page of libiconv, it specifically said that:
>>
>> After installing GNU libiconv for the first time, it is recommended to
>> recompile and reinstall GNU gettext, so that it can take advantage of
>> libiconv.
>>
>> Another info from the site:
>>
>> This works on GNU/Linux, Solaris and OSF/1 systems only. It is a way to
>> get good iconv support without having glibc-2.1. It installs a library
>> preloadable_libiconv.so. This library can be used with LD_PRELOAD, to
>> override the iconv* functions present in the C library.
>>
>>    - On GNU/Linux and Solaris:
>>
>>    $ export LD_PRELOAD=/usr/local/lib/preloadable_libiconv.so
>>
>>
>>
I just noticed that I already have the preloadable_libiconv.so so I did the
export, restarted the web server. Nothing changed in the phpinfo. I'm so not
getting something here.

It mentioned that it was only recommended to recompile GNU gettext, not
required (but I'm not so sure). And I'm not sure how the gettext is related
to this problem. Do I need to recompile GNU gettext as well?
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to