Re: php as cgi with static libraries?
| From: | Adam Bregenzer | Date: | Mon, 16 Feb 2004 01:04:43 +0000 |
| Subject: | Re: php as cgi with static libraries? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177761@lists.php.net to get a copy of this message | ||
On Sun, 2004-02-15 at 17:19, Marten Lehmann wrote:
> when I'm building php as a cgi-module, a 'ldd php' shows a list of some
> libraries, that are linked in dynamically. How can I link some of them
> statically into the php-binary? I can't rely of external libs in some cases.
You will need to build php yourself, take a look at configure --help:
$ ./configure --help | grep static
--enable-static[=PKGS] build static libraries [default=yes]
--
Adam Bregenzer
adam@bregenzer.net
http://adam.bregenzer.net/