#35554 [Fbk->Opn]: Unsatisfied symbols libiconv
ID: 35554
User updated by: mad at dactar dot ch
Reported By: mad at dactar dot ch
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: HP-UX 11.00
PHP Version: 5CVS-2005-12-05 (snap)
New Comment:
Here's the result with LDFLAGS=-liconv
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... hppa2.0n-hp-hpux11.00
checking target system type... hppa2.0n-hp-hpux11.00
checking for gcc... gcc
checking whether the C compiler (gcc -liconv) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
so I've tried to compile without this LDFLAGS and with the
"--without-iconv" configure's argument and it compiles now fine.
So it's a problem with the iconv library on HP-UX. Do you know if this
library works on this system or if I should install libiconv ?
Thanks
@++
JC
Previous Comments:
------------------------------------------------------------------------
[2005-12-06 20:23:47] iliaa@php.net
Have you tried adding -liconv to your LDFLAGS?
------------------------------------------------------------------------
[2005-12-05 14:07:37] mad at dactar dot ch
I've tried with the latest CVS and I don't have the zend_error_noreturn
error message anymore. The others messages are still here :
/usr/ccs/bin/ld: Unsatisfied symbols:
libiconv (code)
libiconv_open (code)
libiconv_close (code)
collect2: ld returned 1 exit status
*** Error exit code 1
Stop.
------------------------------------------------------------------------
[2005-12-05 12:52:41] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
------------------------------------------------------------------------
[2005-12-05 12:48:38] mad at dactar dot ch
Description:
------------
Hellow,
I've errors when I compile php on HP-UX
Reproduce code:
---------------
Here's my configure's options :
./configure \
--prefix=/PKl01h01/soft/web \
--with-libxml-dir=/PKl01h01/soft/web
Expected result:
----------------
No error on compile
Actual result:
--------------
/usr/ccs/bin/ld: Unsatisfied symbols:
libiconv (code)
libiconv_open (code)
libiconv_close (code)
zend_error_noreturn (code)
collect2: ld returned 1 exit status
*** Error exit code 1
Stop.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35554&edit=1
Thread (6 messages)