configure: error: C compiler cannot create executables
Hi,
I was trying to install the latest version PHP-5.4.5 from scratch onto my Ubuntu Server 12.04 32bit.
After running configuration as follows
./configure CFLAGS=-liconv --prefix=/usr/local/php --with-iconv ...
I received an error with the following message
configure: error: in '/usr/src/php-5.4.5':
configure: error: C compiler cannot create executables
I then checked in config.log and found this line
/usr/bin/ld.bfd.real: cannot find -liconv
collect2: ld returned 1 exit status
I wonder if anyone might be able to help me out. Already tried to install libiconv-hook-dev but this did not help.
Any help would be greatly appreciated.
Thank you
|