Re: Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so
| From: | Ian Ball | Date: | Wed, 24 Jul 2002 12:29:42 +0000 |
| Subject: | Re: Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109291@lists.php.net to get a copy of this message | ||
Assuming you are installing from your php-4.2.2 directory, it would appear
the libphp4.so hasn't actually been made, which would point to a possible
error in the configuration parameters. I am also assuming your php 4.2.1
made OK which would mean all necessary libraries etc are available on your
system. What are you using for the configure? On my system it was
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
I did have ldap in there too, but for most people this is not necessary.
If a fresh run from the start fails, then without further information, my
best suggestion is to completely delete the php-4.2.2 directory and ocntents,
and start again with the tar -zxf php-4.2.2.whatever, ./configure......
Ian
On Wednesday 24 July 2002 14:13, Reuben D. Budiardja wrote:
> On Tue, 2002-07-23 at 21:35, David Robley wrote:
> > In article <1027434902.5338.20.camel@arcturus.phys.utk.edu>,
> > reubendb@innovativethought.com says...
> >
> > > I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> > > announce in the web site. When I do make install, it stopped with
> > > errors. The following are the last few lines from the output:
> > >
> > > [activating module `php4' in /usr/local/apache/conf/httpd.conf]
> > > cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
> > > cp: cannot stat `libs/libphp4.so': No such file or directory
> > > apxs:Break: Command failed with rc=1
> > > make[1]: *** [install-sapi] Error 1
> > > make[1]: Leaving directory `/usr/src/php-4.2.2'
> > > make: *** [install-recursive] Error 1
> >
> > Did you do 'make install' as root?
>
> yes, I did everything (from configure to make install) as root.
>
> Rdb
>
> > --
> > David Robley
> > Temporary Kiwi!
> >