Hm, on the 2nd try it worked with xml and mysql too, so I guess everything
works fine :)

Edin

"Daniel L Bingham" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I am attempting to statically link a CLI binary for PHP (5.0.2).  The
configure and make steps proceed without so much as a warning, but the
final binary doesn't seem to be statically linked.  Can anyone tell me
how to correctly statically link the libraries?  When I move to a
different machine, I get an error that says "version 'GLIBC_2.3' not
found".  ldd says that the binary has a number of shared library
dependencies:

$ ldd sapi/cli/php
libcrypt.so.1 => /lib/libcrypt.so.1 (0x005cf000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00c65000)
libm.so.6 => /lib/tls/libm.so.6 (0x00441000)
libdl.so.2 => /lib/libdl.so.2 (0x0062c000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00557000)
libz.so.1 => /usr/lib/libz.so.1 (0x00bb8000)
libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
libnss_files.so.2 => /lib/libnss_files.so.2 (0x00c1b000)
libnss_dns.so.2 => /lib/libnss_dns.so.2 (0x00905000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00817000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0078b000)

The build process I used was:
./configure --with-mysqli --disable-cgi
make LDFLAGS="--all-static"

Am I missing something?

Daniel Bingham
HP @ Research Park
979.691.4574
[EMAIL PROTECTED]

Reply via email to