Compile Issues
| From: | Adam Carnine | Date: | Fri, 22 Sep 2006 13:02:47 +0000 |
| Subject: | Compile Issues | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-17650@lists.php.net to get a copy of this message | ||
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