Re: No .so produced

From: Date: Thu, 04 Sep 2008 15:19:54 +0000
Subject: Re: No .so produced
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-19404@lists.php.net to get a copy of this message
Ian Godman escribió:
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 <http://libphp5.la> /usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libphp5.la <http://libphp5.la> /usr/local/apache/modules/
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la <http://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 <http://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 I think you have to check the --shared related options when you configure.
With ./configure --help you can get all the available options to configure. Regards, Marco -------------------------------------- Freedom is not a permission for chaos.

« previous php.install (#19404) next »