php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38030 make install fails - dlname not found ....libphp5.la
Submitted: 2006-07-07 07:11 UTC Modified: 2006-07-10 07:55 UTC
From: john dot enevoldson at pulsen dot se Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.1.4 OS: sles 9.3 on ibm zseries
Private report: No CVE-ID: None
 [2006-07-07 07:11 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-07 07:43 UTC] john dot enevoldson at pulsen dot se
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.
 [2006-07-07 12:22 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

Btw, what was your configure line?
 [2006-07-10 06:09 UTC] john dot enevoldson at pulsen dot se
Hi,
Problem seemed to be with the libxml2 libraries - installation of this package seemed to put files in the incorrect location. Moiving these and then re-installing solved the problem.
Regards,
John.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 10:01:31 2024 UTC