Bug #15190 Updated: Configure script fails to find static libming
| From: | doc at vulcanmicro dot com | Date: | Thu, 24 Jan 2002 14:58:02 +0000 |
| Subject: | Bug #15190 Updated: Configure script fails to find static libming | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78003@lists.php.net to get a copy of this message | ||
ID: 15190
Comment by: doc@vulcanmicro.com
Reported By: doc@vulcanmicro.com
Status: Open
Bug Type: *Compile Issues
Operating System: Any
PHP Version: 4.1.1
New Comment:
Ok, so I lied, thats four reasons.
Previous Comments:
------------------------------------------------------------------------
[2002-01-24 09:57:11] doc@vulcanmicro.com
Three reasons to use static libraries.
1) Some platforms have problems building some libraries as shared
libs.
2) Some platforms are can't build shared libs.
3) If you want a binary that is portable from machine to machine, the
best way to do that is to statically link to any nonstandard libs. Even
if you copy the shared libs to the new machine along with your binary,
sometimes they don't
work because the new machine is using a different version of libc, for
instance.
4) Static links reduce disk access at program load time and can make
the program load faster.
Besides, how hard is it to add another if statement if the configure
script. I did it in about 30 seconds. Jeez.
------------------------------------------------------------------------
[2002-01-23 19:57:02] yohgaki@php.net
There are extensions that search only *.so libs.
Build and use shared lib for now.
------------------------------------------------------------------------
[2002-01-23 17:22:43] doc@vulcanmicro.com
On line 30452 in the configure script, it searchs for libming.so but
not libming.a, so if you compiled a static version of the ming library,
the configure script won't find it.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=15190&edit=1