PHP Installation problems: xmlParserInputBufferCreateFilenameDefault: referenced symbol not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
 I am stuck with PHP installation since couple of days!
Here is the stpes 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

php-5.2.1

./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

make
make install

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:


./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 \
--without-pear

./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!

Thanks,
Sanjay


No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux