Re: [Fwd: [PHP-INSTALL] Install of PHP 5.0.3 Error]

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

 



Kelly wrote:
> I have installed PHP 5.0.3 on an Intel box running Apache 1.3 with a
> Solaris 9 x86 OS.  When I try to restart the Apache server I get this
> error:
>
> Syntax error on line 249 of
> /etc/apache/httpd.conf:
> Cannot load /usr/apache/libexec/libphp5.so into server: ld.so.1:
> /usr/apache/bin/httpd: fatal: relocation error: file
> /usr/apache/libexec/libphp5.so: symbol xmlRelaxNGCleanupTypes:
> referenced symbol not found
>
>
> I looked up on the PHP bugs website and it says the error is not a bug
> it is bogus.  It says the problem is UNIX maintenance.  It seems if you
> have two 'libxml2' versions on the system you will get this error.  It
> says to delete the older version and Apache will start.  I found a
> version at '/usr/include/libxml2/libxml' and
> '/usr/local/include/libxml2/libxml'.  I deleted the entire directory
> '/usr/include/libxml2/libxml'.

So you deleted the 'include' directory, but what about the corresponding
.so file which is probably still hanging around, still being found, and
still being loaded...

Only now you have 1 and 1/2 installations instead of 2, so it's *REALLY*
messed up. :-)

> I still get the same error.  I decided
> OK maybe I should recompile PHP now that the other version is gone.  I
> can do a './configure --with-apxs=/usr/apache/bin/apxs'.  After I do the
> configure and enter 'make' it says make: not found.  So not only can I
> not get past the error now I cannot even re-compile.  What am I doing
> wrong.  Is there a registry like componant to Solaris I need to change
> to show the old version is gone?  Any help out there for me?

I dunno about Solaris, but under Linux one would do 'ldconfig' to re-load
the available set of libraries.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux