Public bug reported: I am the maintainer of several (non packaged) PHP extensions. A user reported through https://github.com/mongodb/mongo-php-driver/issues/255 that "phpize" now throws a warning about a missing ltmain.sh (details about that in the previously mentioned GitHub issue).
This is on (beta1): derick@ubuntu-desktop-16:/tmp/xdebug$ lsb_release -rd Description: Ubuntu Xenial Xerus (development branch) Release: 16.04 After some research, I found out that the problem was caused by a dangling symlink: In /usr/lib/php/20151012/build, the ltmain.sh "file" is a symlink to ../../../../share/libtool/confg/ltmain.sh. However, the target does not exist. This means that PHP's phpize can not copy it. And that's why you get the error. The correct symlink is to ../../../../share/libtool /build-aux/ltmain.sh, and if I change it to that, it works: cd /usr/lib/php/20151012/build sudo rm ltmain.sh sudo ln -s ../../../../share/libtool/build-aux/ltmain.sh . cd /tmp/mongo-php-driver phpize Which then outputs: Configuring for: PHP Api Version: 20151012 Zend Module Api No: 20151012 Zend Extension Api No: 320151012 ./configure and make and make install work fine too then. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: php7.0-dev 7.0.3-3 ProcVersionSignature: Ubuntu 4.4.0-7.22-generic 4.4.2 Uname: Linux 4.4.0-7-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: GNOME Date: Wed Mar 9 12:02:13 2016 InstallationDate: Installed on 2016-03-09 (0 days ago) InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160225.1) ProcEnviron: LANGUAGE=en_GB:en PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: php7.0 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: php7.0 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php7.0 in Ubuntu. https://bugs.launchpad.net/bugs/1555057 Title: The ltmain.sh file is a dangling symlink To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php7.0/+bug/1555057/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs