From:             hylke at herbaldistribution dot com
Operating system: linux redhat Opteron
PHP version:      4.3.4
PHP Bug Type:     Compile Failure
Bug description:  apxs:Error: Command failed with rc=65536

Description:
------------
I've got a problem installing the libphp4.so. When I have done 'make' the
file libphp4.so.0 isn't created in the directory .libs or libs.

Configure rule:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-ftp
--with-pear --with-mysql --enable-shared --with-trans-sid
--enable-trans-sid --with-mod_charset --enable-mod_charset
--with-zlib-dir=/usr/local/lib --enable-mysql --enable-ftp --with-ssl
--enable-ssl

Things I tried:

- Changed the CFLAG
- Edit the libtool file
- Used the latest snapshot

None of these things solved the problem.

Reproduce code:
---------------
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/usr/src/php-4.3.3/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: failed to get attributes of
`/usr/local/apache2/modules/libphp4.so': No such file or directory
apxs:Error: Command failed with rc=65536

Expected result:
----------------
That the libphp4.so is created.


-- 
Edit bug report at http://bugs.php.net/?id=26319&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26319&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26319&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26319&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26319&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26319&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26319&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26319&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26319&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26319&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26319&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26319&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26319&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26319&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26319&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26319&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26319&r=float

Reply via email to