ID: 22394 Comment by: sjungels at adelphia dot net Reported By: apiotr at itm dot pcz dot czest dot pl Status: No Feedback Bug Type: Apache2 related Operating System: UnixWare 7.1.1 PHP Version: 4.3.2-dev New Comment:
I have tracked this down to a faulty version of GNU grep. You may have the same problem. See my comment in bug 28496. Previous Comments: ------------------------------------------------------------------------ [2004-01-19 10:23:59] crispula78 at hotmail dot com Compile apache without configuration option --enable-so and php with configuration option --with-apxs2=/usr/local/apache2/bin/apxs ------------------------------------------------------------------------ [2004-01-18 15:30:13] sebastien at lignedirecte dot ca I have exactly the same prob of libphp4.so not found Apache 2.0.28 ./configure --with-apxs --enable-so --prefix=/usr/local/apache2048 PHP 4.3.4 ./configure --prefix=/usr/local/apache2048/php --with-apxs2=/usr/local/apache2048/bin/apxs --with-config-file-path=/usr/local/apache2048/php --with-pgsql=/usr/local/pgsql The apache is installed and work perfectly but I can make the make install of the PHP without getting this error: myserver# make install Installing PHP CLI binary: /usr/local/apache2048/php/bin/ Installing PHP CLI man page: /usr/local/apache2048/php/man/man1/ Installing PHP SAPI module: apache2handler /usr/local/apache2048/build/instdso.sh SH_LIBTOOL='/usr/local/apache2048/build/libtool' libphp4.la /usr/local/apache2048/modules /usr/local/apache2048/build/libtool --mode=install cp libphp4.la /usr/local/apache2048/modules/ cp .libs/libphp4.lai /usr/local/apache2048/modules/libphp4.la cp .libs/libphp4.a /usr/local/apache2048/modules/libphp4.a ranlib /usr/local/apache2048/modules/libphp4.a chmod 644 /usr/local/apache2048/modules/libphp4.a libtool: install: warning: remember to run `libtool --finish /usr/home/work/php-4.3.4/libs' Warning! dlname not found in /usr/local/apache2048/modules/libphp4.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2048/modules/libphp4.so chmod: /usr/local/apache2048/modules/libphp4.so: No such file or directory apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/home/work/php-4.3.4. ------------------------------------------------------------------------ [2004-01-16 04:48:41] crispula78 at hotmail dot com Compila apache sin la opcion --enable-so y luego php con la opción --with-apxs2=/ruta del apache/bin/apxs (si es la versión 1 de apache sería --with-apxs=/ruta del apache/bin/apxs) To compile apache without configuration option --enable-so and php with configuration option --with-apxs2=/usr/local/apache2/bin/apxs ------------------------------------------------------------------------ [2004-01-03 13:35:50] msiemc at rogers dot com i fixed dlname error, by installing libtool package, but .so is still not compiled in .libs Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/ cp .libs/libphp4.so /usr/local/apache2/modules/libphp4.so cp: .libs/libphp4.so: No such file or directory apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 ls -lA .libs total 10308 -rw-r--r-- 1 root root 10532728 Jan 3 13:09 libphp4.a lrwxrwxrwx 1 root root 13 Jan 3 13:09 libphp4.la -> ../libphp4.la -rw-r--r-- 1 root root 848 Jan 3 13:09 libphp4.lai ------------------------------------------------------------------------ [2004-01-01 01:44:54] msiemc at rogers dot com i have same problem on my Slackware 9, i have Apache 2.0.48 and trying to install PHP 4.3.4 ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-openssl --with-zlib --with-bz2 --enable-ftp --with-mime-magic --with-mysql=/usr/local/mysql --enable-sockets compiling goes smooth, but make install doesn't: Installing PHP CLI binary: /usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2/modules/ cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a ranlib /usr/local/apache2/modules/libphp4.a chmod 644 /usr/local/apache2/modules/libphp4.a libtool: install: warning: remember to run `libtool --finish /root/php-4.3.4/libs' Warning! dlname not found in /usr/local/apache2/modules/libphp4.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/libphp4.so chmod: /usr/local/apache2/modules/libphp4.so: No such file or directory apxs:Error: Command failed with rc=65536 . make: *** [install-sapi] Error 1 Any ideas? I tried latest CVS and latest STABLE, but they didnt work either. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22394 -- Edit this bug report at http://bugs.php.net/?id=22394&edit=1