You are here: Re: [PHP] [Fwd: [PHP-INSTALL] Install of PHP 5.0.3 Error] « PHP « IT news, forums, messages
Re: [PHP] [Fwd: [PHP-INSTALL] Install of PHP 5.0.3 Error]

Posted by Richard Lynch on 10/04/02 11:05

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация