php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45137 PHP 5.2.5 compile problem
Submitted: 2008-05-30 09:08 UTC Modified: 2008-06-06 01:31 UTC
From: rajat dot ray at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.5 OS: Solaris
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rajat dot ray at gmail dot com
New email:
PHP Version: OS:

 

 [2008-05-30 09:08 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-02 07:26 UTC] rajat dot ray at gmail dot com
Why I should use these files which is meant for development.

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

I want to use this in production.
 [2008-06-02 07:28 UTC] rajat dot ray at gmail dot com
I have tried using this command also 

"--with-sybase=/opt/sybase/OCS-12_5"

but no luck....
 [2008-06-02 08:46 UTC] rajat dot ray at gmail dot com
The previous issue i fixed it by including --with-sybase=/opt/sybase/OCS-12_5
--with-oci8-instant-client=/opt/instantclient_10_2" in ./configure but now i am getting another error

*** Error code 1
make: Fatal error: Command failed for target `ext/sybase/php_sybase_db.lo'

Any help...
 [2008-06-05 18:26 UTC] jani@php.net
You obviously have two problems: Badly setup environment and old PHP version. Current PHP version is 5.2.6 and thousands of people are able to compile it without problems on Solaris.
 [2008-06-06 01:30 UTC] rajat dot ray at gmail dot com
The same php version works in other environment like linux,aix.
 [2008-06-06 01:31 UTC] rajat dot ray at gmail dot com
dont change the status to bogus. I have come here fix my problem not to make my bug as bogus...
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Dec 01 02:00:01 2025 UTC