php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35554 Unsatisfied symbols libiconv
Submitted: 2005-12-05 12:48 UTC Modified: 2005-12-13 17:36 UTC
From: mad at dactar dot ch Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2005-12-05 (snap) OS: HP-UX 11.00
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mad at dactar dot ch
New email:
PHP Version: OS:

 

 [2005-12-05 12:48 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-05 12:52 UTC] 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 14:07 UTC] 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-06 20:23 UTC] iliaa@php.net
Have you tried adding -liconv to your LDFLAGS?
 [2005-12-07 09:58 UTC] mad at dactar dot ch
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
 [2005-12-13 17:36 UTC] sniper@php.net
Same as bug #35288
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 04:01:32 2024 UTC