For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > September 2006 > Compile Issues









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Compile Issues
Adam Carnine

2006-09-22, 7:58 am

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com