[Could you ask me] Questions about cross-compilation of php5 and libiconv [urgent]
Source: Internet
Author: User
[Consult with anyone] Questions about cross-compilation of php5 and libiconv [URGENT!] The project requires that php be re-compiled and the iconv library be compiled. I have installed the iconv library, but when php is compiled for configure, I always say that the iconv library cannot be found, I have never been familiar with php before, so I have never been involved. please [Ask the Experts] about the issue of cross-compiling between php5 and libiconv [URGENT!]
The project requires that php be re-compiled and the iconv library be compiled. I have installed the iconv library, but when php is compiled for configure, I always say that the iconv library cannot be found, I have never touched anything in php before, so I have no plans. please kindly advise. thank you!
My operation steps: (mips64 platform)
1.install libiconv-1.11.tar.gz
The cross-compilation tool has export passed.
./Configure -- prefix =/usr/local/iconv -- host = mipsel-linux
Make
Make intall
After this step is completed, several directories are generated under/usr/local/iconv. readelf-h checks that the compiled iconv executable files are correct (mips3000, 64-bit)
2. copy the compiled library and. h file to the corresponding library and include Directory of the compilation tool.
Checking for libiconv in-liconv... no
Checking for iconv in-liconv... no
Configure: error: iconv not found, in order to build xmlrpc you need the iconv library
If it's just-with-iconv, you can use configure in the past and compile it, but iconv of glibc is always used when phpinfo is displayed...
------ Solution --------------------
Help you ddddd
------ Solution --------------------
Remove-with-xmlrpc, you can use
Or check whether pkgconfig has libiconv. pc.
------ Solution --------------------
That's not enough. just locate libiconv. pc.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service