#45137 [Opn->Fbk]: PHP 5.2.5 compile problem
| From: | felipe@php.net | Date: | Sat, 31 May 2008 23:32:08 +0000 |
| Subject: | #45137 [Opn->Fbk]: PHP 5.2.5 compile problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125399@lists.php.net to get a copy of this message | ||
ID: 45137
Updated by: felipe@php.net
Reported By: rajat dot ray at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Solaris
PHP Version: 5.2.6
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Previous Comments:
------------------------------------------------------------------------
[2008-05-30 09:08:35] rajat dot ray at gmail dot com
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 this bug report at http://bugs.php.net/?id=45137&edit=1