Naga Gangadhar Reddy wrote:
When I tried to build PHP on my LFS, it gave the following error
can any one help me??
In function `php_iconv_stream_filter_dtor':undefined reference to
`libiconv_close'
In function `php_iconv_stream_filter_append_bucket': undefined reference to
`libiconv'
undefined reference to `libiconv'
undefined reference to `libiconv'
I believe you have installed libiconv, you should not do that. It is included with libc as just iconv. You need to replace the /usr/include/iconv.h header with the one from your LFS glibc. Just unpack the libc tarball and as root:
cp -v iconv/iconv.h /usr/include

if you can find what else was installed with libiconv, remove it.
A lot of packages say it is required, but it is not for a linux glibc system.
I think there is a warning in the LFS Book, at least it was discussed.

---
David Jensen

--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to