#45137 [NEW]: PHP 5.2.5 compile problem
| From: | rajat dot ray at gmail dot com | Date: | Fri, 30 May 2008 09:08:35 +0000 |
| Subject: | #45137 [NEW]: PHP 5.2.5 compile problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-125364@lists.php.net to get a copy of this message | ||
From: rajat dot ray at gmail dot com
Operating system: Solaris
PHP version: 5.2.6
PHP Bug Type: Compile Failure
Bug description: PHP 5.2.5 compile problem
Description:
------------
I am trying to compile PHP 5.2.5 with these configurations:
PHP: 5.2.5
libxml: 2.6.30(libxml2-2.6.30.tar.gz)
gettext: 0.17 ( gettext-0.17.tar.gz)
I am getting error like this:
m -lsocket -lnsl -lxml2 -lz -liconv -lm -lsocket -lnsl -o sapi/cli/php
Undefined first referenced
symbol in file
libintl_bind_textdomain_codeset ext/gettext/.libs/gettext.o
libintl_dcngettext ext/gettext/.libs/gettext.o
libintl_gettext ext/gettext/.libs/gettext.o
libintl_textdomain ext/gettext/.libs/gettext.o
libintl_dngettext ext/gettext/.libs/gettext.o
libintl_dcgettext ext/gettext/.libs/gettext.o
libintl_bindtextdomain ext/gettext/.libs/gettext.o
libintl_dgettext ext/gettext/.libs/gettext.o
libintl_ngettext ext/gettext/.libs/gettext.o
ld: fatal: Symbol referencing errors. No output written to sapi/cli/php
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `sapi/cli/php'
It will be great if somebody can help me on this.
Expected result:
----------------
To compile it successfully.
--
Edit bug report at http://bugs.php.net/?id=45137&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45137&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45137&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45137&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45137&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=45137&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45137&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45137&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45137&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45137&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45137&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=45137&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=45137&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45137&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45137&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45137&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45137&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45137&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45137&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45137&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45137&r=mysqlcfg