ID:               40902
 Updated by:       [EMAIL PROTECTED]
 Reported By:      xoriant at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Apache2 related
 Operating System: SunOS 5.10 Generic_118833-17 sun
 PHP Version:      5.2.1
 New Comment:

You have two different libxml2 installed, see:
http://www.opensubscriber.com/message/php-install@lists.php.net/5943507.html


Previous Comments:
------------------------------------------------------------------------

[2007-03-23 10:49:45] xoriant at yahoo dot com

Description:
------------
I know these kind of bugs reported before.. but i am still stuck with
it and unable to move ahead. Trying to install PHP5 on Solaris10.
Installed related packages, apache, libxml2, etc. See the details
below.

Pre PHP installation steps i followed:

Box using:
SunOS 5.10 Generic_118833-17 sun4u sparc SUNW,Ultra-80:

gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)



LD_LIBRARY_PATH=/usr/local/lib:/usr/openwin/lib/X11:/usr/openwin/lib:/usr/local:/usr/bin/perl:/usr/lib:/oracle/product/10.2/lib:/usr/dt/lib
PATH=/usr/local/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin:/usr/ucb:/usr/dt/bin:/svn/bin

installed 
libtool-1.5
neon-0.25.5

open ssl failed to make using above path!

PATH=/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/openwin/bin:/usr/sfw/bin:/usr/local/bin:/usr/ucb:/usr/dt/bin:/svn/bin:/home/sjadhav/bin:/oracle/product/10.2/bin:/usr/local/bin

openssl-0.9.8e
CC="gcc" ./config --prefix=/www/apache2/openssl
--openssldir=/www/apache2/openssl
     ./make
     ./make install


httpd-2.2.4.tar

CC="gcc" ./configure \
--prefix=/www/apache2 \
--enable-dav \
--enable-dav-fs \
--enable-dav-lock \
--enable-deflate \
--enable-rewrite \
--enable-so=so \
--enable-speling \
--enable-ssl \
--with-ssl=/www/apache2/openssl \
--enable-info \
--enable-cgi \
--enable-rewrite \
--enable-speling \
--enable-usertrack \
--enable-mime-magic

I have not done SSL CERT part yet (certificates) so only apache works
but not with https.

libxml2-2.6.26
     ./configure
     ./make
     ./make install

but xml2-config --version gives
2.6.10
then I removed all old 2.6.10 references from path.

PHP:
./configure \
--with-apxs2=/www/apache2/bin/apxs \
--prefix=/www/apache2/php \
--with-config-file-path=/www/apache2/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--enable-libxml \
--with-libxml-dir=/usr/local

make
make install





Actual result:
--------------
Installing PEAR environment:      /www/apache2/php/lib/php/
ld.so.1: php: fatal: relocation error: file
/source/php-5.2.1/sapi/cli/php: symbol
xmlParserInputBufferCreateFilenameDefault: referenced symbol not found
*** Error code 137
The following command caused the error:
/source/php-5.2.1/sapi/cli/php -n -dshort_open_tag=0 -dsafe_mode=0
-dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1
-ddetect_unicode=0 pear/install-pear-nozlib.phar -d
"/www/apache2/php/lib/php" -b "/www/apache2/php/bin"
make: Fatal error: Command failed for target `install-pear-installer'
Current working directory /source/php-5.2.1
*** Error code 1
The following command caused the error:
if test -f pear/install-pear-nozlib.phar &&
/source/php-5.2.1/build/shtool mkdir -p /www/apache2/php/lib/php; then
\
        make -s install-pear-installer; \
else \
        cat /source/php-5.2.1/pear/install-pear.txt; \
fi
make: Fatal error: Command failed for target `install-pear'

then I tried without pear:
-------------------------

PHP:
./configure \
--with-apxs2=/www/apache2/bin/apxs \
--prefix=/www/apache2/php \
--with-config-file-path=/www/apache2/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--enable-libxml \
--with-libxml-dir=/usr/local

make
make install

./apachectl -k start
httpd: Syntax error on line 53 of /www/apache2/conf/httpd.conf: Cannot
load /www/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal:
relocation error: file /www/apache2/modules/libphp5.so: symbol
xmlParserInputBufferCreateFilenameDefault: referenced symbol not found

I am not an expert but I tried with other options as well, but getting
the same error. Definitely I must be missing something..
Your help/solution is highly appreciated!





------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40902&edit=1

Reply via email to