Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40450 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8162 invoked from network); 10 Sep 2008 21:39:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2008 21:39:55 -0000 Authentication-Results: pb1.pair.com header.from=santi@usansolo.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=santi@usansolo.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain usansolo.net designates 82.194.80.170 as permitted sender) X-PHP-List-Original-Sender: santi@usansolo.net X-Host-Fingerprint: 82.194.80.170 relayout02-q01.dns-servicios.com Linux 2.6 Received: from [82.194.80.170] ([82.194.80.170:32976] helo=relayout02-q01.dns-servicios.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 60/FA-30769-9AE38C84 for ; Wed, 10 Sep 2008 17:39:54 -0400 Received: from relayout02-redir.dns-servicios.com (relayout02-redir.dns-servicios.com [82.194.80.175]) by relayout02.dns-servicios.com (Postfix) with ESMTP id 9AF22A70098; Wed, 10 Sep 2008 23:39:50 +0200 (CEST) Received: from linux11.dns-servicios.com (linux11.dns-servicios.com [82.194.66.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by relayout02-dsp.dns-servicios.com (Postfix) with ESMTPS id D8EEF39053B; Wed, 10 Sep 2008 23:39:47 +0200 (CEST) Received: from [85.85.26.225] (port=55787 helo=powerbook.local) by linux11.dns-servicios.com with esmtpa (Exim 4.69) (envelope-from ) id 1KdXPe-00070Y-1l; Wed, 10 Sep 2008 23:39:46 +0200 Message-ID: <48C83EA3.1050107@usansolo.net> Date: Wed, 10 Sep 2008 23:39:47 +0200 User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: jani.taskinen@iki.fi CC: =?UTF-8?B?Q3Jpc3RpYW4gUm9kcsOtZ3Vleg==?= , internals@lists.php.net References: <48C7E278.5040204@suse.de> <48C7F390.90003@sci.fi> In-Reply-To: <48C7F390.90003@sci.fi> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-RelayOut-Watermark: 1221687588.22149@i1eaXhqA6JAubXVMXBIOig X-RelayOut-Information: AntiSPAM and AntiVIRUS on relayout02 X-RelayOut: Found to be clean X-RelayOut-SpamCheck: no es spam, SpamAssassin (no almacenado, puntaje=0, requerido 6.5) X-RelayOut-From: santi@usansolo.net X-Spam-Status: No Subject: Re: [PHP-DEV] Howto build statically linked PHP CGI (without shared libs) From: santi@usansolo.net (Santi Saez) 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