#38030 [Opn]: make install fails - dlname not found ....libphp5.la
| From: | john dot enevoldson at pulsen dot se | Date: | Fri, 07 Jul 2006 07:43:29 +0000 |
| Subject: | #38030 [Opn]: make install fails - dlname not found ....libphp5.la | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99193@lists.php.net to get a copy of this message | ||
ID: 38030
User updated by: john dot enevoldson at pulsen dot se
Reported By: john dot enevoldson at pulsen dot se
Status: Open
Bug Type: Compile Failure
Operating System: sles 9.3 on ibm zseries
PHP Version: 5.1.4
New Comment:
Looking through the make output again we do see a warning:
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp5. Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
This probably expalins why the .so is not being built though we cannot
see what dependency is incorrect.
Previous Comments:
------------------------------------------------------------------------
[2006-07-07 07:11:08] john dot enevoldson at pulsen dot se
Description:
------------
configure and make works ok but when running make install we see:
Installing PHP SAPI module: apache2handler
/usr/share/apache2/build/instdso.sh
SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp5.la
/usr/lib64/apache2
/usr/share/apache2/build/libtool --mode=install cp libphp5.la
/usr/lib64/apache2/
cp .libs/libphp5.lai /usr/lib64/apache2/libphp5.la
cp .libs/libphp5.a /usr/lib64/apache2/libphp5.a
ranlib /usr/lib64/apache2/libphp5.a
chmod 644 /usr/lib64/apache2/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/home/tje/php/php-5.1.4/libs'
Warning! dlname not found in /usr/lib64/apache2/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib64/apache2/libphp5.so
chmod: cannot access `/usr/lib64/apache2/libphp5.so': No such file or
directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
libphp5.la is actually in /usr/lib64/apache2/ so we cannot understand
why the error is being thrown.
Reproduce code:
---------------
sudo make install
Expected result:
----------------
Build complete
Actual result:
--------------
See output above.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38030&edit=1