• PHP Help PHP Newbies
  • libtool: install: error: cannot install `libphp5.la' to a directory not ending in /va

I am trying to install php on a Solaris 9 box. Here is my configure statement:

./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/opt/sfw/mysql \
--with-sqlite \
--enable-sqlite-utf8 \
--with-zlib \
--with-zlib-dir \
--with-bz2 \
--with-gd \
--enable-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-ttf \
--with-iconv=/usr/local \
--with-curl=/usr/local \
--enable-track-vars \
--with-gettext \
--with-config-file-path=/usr/local/apache2/conf \
--enable-trans-id \
--enable-ftp \
--enable-mbstring \
--with-openssl=/usr/local

this runs fine as well as my make. When I do a make install I get the following error:

make install

Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
libtool: install: error: cannot install libphp5.la' to a directory not ending in /var/tmp/php-5.0.4/libs
apxs:Error: Command failed with rc=65536
.
*** Error code 1
make: Fatal error: Command failed for target
install-sap

Any help would be appreciated.

Thanks

    13 years later

    Hi,

    I am having the same issue. did you figure out whats the problem and how to fix this.

    Thanks,

      The person is unlikely to reply, given that it is 13 years later. Besides, certain aspects of the toolchain likely has changed since then. Why not start a new post describing your problem along with your current error messages?

        Write a Reply...