ID: 22394
Comment by: msiemc at rogers dot com
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 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
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2003-12-30 16:22:36] eldy at users dot sourceforge dot net
I got the same problem, this is how i solved it:
When running the ./configure, the "libtool" script built contained the
line
deplibs_check_method="unknown"
instead of
deplibs_check_method="pass_all"
Since i use a linux os and on linux the check for lib dependencies is
not required, the value should be "pass_all".
I don't know why the script ./configure put the wrong value because
after removing the config.cache file and runing again the ./configure,
the libtools script was edited correctly... and make compiled correctly
the libphp4.so
------------------------------------------------------------------------
[2003-12-10 14:29:13] x-itec at freenet dot de
I have no .so library, too. Using Suse 8.1
PI.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_execute.lo ext/readline/readline.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lsablot
-lexpat -lexpat -lexpat -lcrypt -lhistory -lreadline -lncurses -lpq
-lmysqlclient -lming -lm -lmhash -lmcrypt -lltdl -liconv -lgmp -lt1
-lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lxml2 -lxslt -lz -lcurl -lbz2
-lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcurl -lz -lssl -lcrypto
-ldl -lz -lxml2 -lz -liconv -lm -lcrypt -lcrypt -o sapi/cli/php
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
# make install
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PHP SAPI module: apache2handler
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' libphp4.la
/usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libphp4.la
/usr/local/apache/modules/
cp .libs/libphp4.lai /usr/local/apache/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache/modules/libphp4.a
ranlib /usr/local/apache/modules/libphp4.a
chmod 644 /usr/local/apache/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/home/bk/dl/php-4.3.4/libs'
Warning! dlname not found in /usr/local/apache/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/libphp4.so
chmod: failed to get attributes of
`/usr/local/apache/modules/libphp4.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
------------------------------------------------------------------------
[2003-09-15 09:55:35] codedv at sccode dot com
I experience this exact problem too. I am on the verge of given up
compiling PHP completely. My configure line is:
$./configure --with-apxs2=/usr/local/apache2/bin/apxs
I am attempting to compile PHP 4.3.3 on Redhat Linux 9. Before "make
install" falls over it creates two files in my
/usr/local/apache2/modules directory:
libphp4.la
libphp4.a
However no trace of libphp4.so anywhere on my system.
------------------------------------------------------------------------
[2003-06-11 19:11:10] [EMAIL PROTECTED]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
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