Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so

From: Date: Wed, 24 Jul 2002 12:07:46 +0000
Subject: Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-7889@lists.php.net to get a copy of this message
No, I haven't got any reply or help regarding this error. And I still can't figure out how to fix it. So if you or someone know anything, please enlighten me :). Thanks. Reuben D. B. On Wed, 2002-07-24 at 00:45, Fabian Aguirre wrote: > Hi! > > I do get the same error :(, have u got a reply on this error? > > > ----- Original Message ----- > From: "Reuben D. Budiardja" <reubendb@hotpop.com> > To: <php-install@lists.php.net> > Sent: Tuesday, July 23, 2002 7:22 PM > Subject: [PHP-INST] PHP 4.2.2 install woe: cannot stat libs/libphp.so > > > > 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 > > > > When I checked the directory libs, there are only files > > libphp4.a libphp4.la > > > > I tried to make symlink called libphp4.so to one of this files, and then > > the make install run without error. But then when I started my apache, > > it gives me: > > > > bash $> /usr/local/apache/bin/apachectl start > > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: > > Cannot load /usr/local/apache/libexec/libphp4.so into server: > > /usr/local/apache/libexec/libphp4.so: invalid ELF header > > /usr/local/apache/bin/apachectl start: httpd could not be started > > > > Here is my configure line: > > ./configure --with-mysql --enable-track-var --disable-debug > > --prefix=/usr/local/apache/php --with-config-file-path=/usr/local/apache > > lib --with-apxs=/usr/local/apache/bin/apxs --with-gd --with-zlib > > > > I added flag '-lz' for 'LTLIBRARY_LDFLAGS' definition before running > > make. > > > > Any help on this would be greatly appreciated. Thanks in advance. > > Reuben D. Budiardja > > > > > > > > > > > > > > -- > > PHP Install Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.install (#7889) next »