Jani Taskinen escribió:
Wrong: --disable-shared --enable-static
Might or might not work, no guarantees.
Dear Jani,
Thanks for your reply, I have tried with a very simple:
# ./configure --disable-all --disable-shared --enable-static
But, generated binary uses shared libs ;-(
# file sapi/cgi/php-cgi
sapi/cgi/php-cgi: ELF 32-bit LSB executable, Intel 80386, version 1
(SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), not
stripped
# ldd sapi/cgi/php-cgi
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00335000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00375000)
libm.so.6 => /lib/tls/libm.so.6 (0x002fe000)
libdl.so.2 => /lib/libdl.so.2 (0x002f8000)
libnsl.so.1 => /lib/libnsl.so.1 (0x0039e000)
libc.so.6 => /lib/tls/libc.so.6 (0x001ca000)
/lib/ld-linux.so.2 (0x001b0000)
Thanks anyway! I will try other method..
--
Santi Saez
http://woop.es
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php