Hi all,

Hopefully I picked the right list, if not please accept
my apologies.

I am trying to get PHP 5.1.6 to play nice with Zlib and
MySQL and it is failing.

The problem is relocation errors when linking against Zlib.

Some examples include:
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown>                           0x3a58      /usr/local/lib/libz.a(inflate.o)
<unknown>                           0x3a60      /usr/local/lib/libz.a(inflate.o)
(it goes on through I think every Zlib call in PHP).

I am compling with GCC 4.0.2 on Solaris 10.

My CFLAGS looks like: -O3 -m64 -fPIC -Bsymbolic

I have recompiled ZLib (just in case that was the problem) to no avail.

Any ideas?

Thanks in advance.

-Adam

Reply via email to