Click to See Complete Forum and Search --> : recompling Apache on Solaris 8


Anon
06-27-2002, 04:54 PM
Hi,

I previously successfully configured and compiled Apache 1.3.24 with DSO support, PHP 4.1.2 as a loadable module on Solaris 8. It was working fine. I needed to add the mod-rewrite module to apache. So I re configured apache with:

configure --prefix=/usr/local/apache
--enable-module=so --enable-module=rewrite
make; make install

It complied clean. Now when I tried to start it I get the following error:

Syntax error on line 206 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced symbol not found

Anyone have any clues.....

Thanks a million

Anon
06-28-2002, 05:45 AM
Try to re-compile PHP.

PS: Better update to apache 1.3.26, SECURITY HOLE