Hi guys,

I'm cross-posting this from NullPointer.ph since I've been scratching my
head for several hours already with this problem.

The code I'm working on runs perfectly on Windows XP and on Mac OS X. When
testing it on CentOS (and on Fedora and on Ubuntu), it's not working
properly. Searching the nets led me to the conclusion that it's the glibc
version of the iconv that's causing the problem. So now I need the libiconv
version of iconv for Zend Lucene to work properly.

I already downloaded libiconv and configured it with --prefix=/usr/local,
make, then make install without any errors. It seems that it was
successfully installed because executing /usr/local/bin/iconv --version says
the version is the libiconv one. Although a simple iconv --version still
gives the glibc version.

Then I recompiled PHP from source using --with-iconv=/usr/local. But still,
the phpinfo() is showing the iconv being used is the glibc version. I've
also already tried several other compiles using --with-iconv-dir or using
/usr/local/bin/php.

What am I missing here?


The original question can be found here:
http://nullpointer.ph/questions/2922/how-can-i-force-php-to-use-the-libiconv-version-of-iconv-instead-of-the-centos-installed-glibc-version



Thanks!
--
Randell
http://randell.ph/
_________________________________________________
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