No .so produced

[email protected] ("Ian Godman")
Newsgroups php.install
Message-ID <[email protected]>
Hi

I am trying to compile and install PHP 5.2.6  on CentOS Linux 5.2 using the
following config:

./configure  –with-gd --disable-pdo --enable-bcmath --enable-calendar
--enable-ftp --enable-libxml --enable-magic-quotes --enable-sockets
--prefix=/usr/local --with-apxs2=/usr/local/apache/bin/apxs
--with-libdir=lib64 --with-libxml-dir=/opt/xml2/ --with-mysql=/usr
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-zlib --with-zlib-dir=/usr


I can see no errors during configure.

No errors during make.

running make install I get

make install
Installing PHP SAPI module:       apache2handler
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la/usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp
libphp5.la/usr/local/apache/modules/
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache/modules/libphp5.a
chmod 644 /usr/local/apache/modules/libphp5.a
ranlib /usr/local/apache/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/root/php-5.2.6/libs'
Warning!  dlname not found in /usr/local/apache/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/libphp5.so
chmod: cannot access `/usr/local/apache/modules/libphp5.so': No such file or
directory
apxs:Error: Command failed with rc=65536


I am expecting this to make libphp5.so am I mistaken or doing something
wrong?

Ian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.