Re: [PHP] php as cgi with static libraries?

2004-02-19 Thread Marten Lehmann
that's what I already did (--enable-static=db4), but after that a 'ldd 
php' still showed me references to libdb.so. I don't want to build php 
with absolutely no dynamic libaries, only certain libaries shall be 
compiled in statically.
Still no answer? Is noone experienced enough in the building-process 
(may affect gcc in general, not php-specific).

Regards
Marten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php as cgi with static libraries?

2004-02-16 Thread Marten Lehmann
Hello,

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]
that's what I already did (--enable-static=db4), but after that a 'ldd 
php' still showed me references to libdb.so. I don't want to build php 
with absolutely no dynamic libaries, only certain libaries shall be 
compiled in statically.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] php as cgi with static libraries?

2004-02-15 Thread Marten Lehmann
Hello,

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.

Regards
Marten
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php as cgi with static libraries?

2004-02-15 Thread Adam Bregenzer
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
[EMAIL PROTECTED]
http://adam.bregenzer.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php