Hi,

I sending this message because a few people have contacted me offline 
about a question I posted to the list a while back.

It seems that on certain Sun Solaris systems, Apache and PHP compile 
fine but apache does *not* run.  When Apache is started with the PHP 
module or any other module, the error...

/www> bin/apachectl start
Syntax error on line 208 of /www/conf/httpd.conf:
Cannot load /www/libexec/libphp4.so into server: ld.so.1:
/www/bin/httpd: fatal: relocation error: file /www/libexec/libphp4.so:
symbol ap_block_alarms: referenced symbol not found
bin/apachectl start: httpd could not be started
/www>

For some reason, the Apache symbols, which should have been exported for 
use by the modules are not.  This results in a bunch of "referenced 
symbol not found" errors.

I spoke to a few other people about this and a constant factor seems to 
be GCC 2.95.3 + Solaris.  If you recieve this error and compiled using 
GCC 2.95.3, try upgrading your compiler. GCC 3.0.2 compiled apache and 
PHP and the resulting binaries started without any problems.

If that still does not work, visit http://sunsolve.sun.com/ under their 
patchfinder section and look for the maintennance patches or at least 
the patches that affect the linker such as Patch-ID# 109147-14 .

Hope this helps.

--Kervin


-- 
http://linuxquestions.org/ - Ask linux questions, give linux help.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to