[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug in arm dynamic linker?

> On Wed, 23 Aug 2000, Chris Gorman wrote:
> > When I attempt to start apache, I get the following error with some of
> > the DSO modules ..
> > 
> > Cannot load /usr/lib/apache/1.3/libphp3.so into server:
> > /usr/lib/apache/1.3/libphp3.so: R_ARM_PC24 relocation out of range

I ran into this as well, but too late to fix for potato.
The problem is in the `apxs' command from apache-dev.  
"apxs -q CFLAGS_SHLIB" erroneously returns "-fpic" instead of "-fPIC".

Its just a script, you can fix it with your favorite editor then 
do your favorite "build from source" dance on the php3 package.

I do not believe the CGI php3 is afflicted, though I could be very wrong.

                                     Jim Studt, President
                                     The Federated Software Group, Inc.

Reply to: