php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13023 symbol ap_block_alarms: referenced symbol not found
Submitted: 2001-08-29 08:00 UTC Modified: 2001-10-02 19:17 UTC
From: zaino at mfn dot unipmn dot it Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.6 OS: Solaris 8 sparc 20
Private report: No CVE-ID: None
 [2001-08-29 08:00 UTC] zaino at mfn dot unipmn dot it
The error is:
/local/httpd/bin/apachectl configtest
Syntax error on line 206 of /local/httpd/conf/httpd.conf:
Cannot load /local/httpd/libexec/libphp4.so into server: ld.so.1: /local/httpd/bin/httpd: fatal: relocation error: file /local/httpd/libexec/libphp4.so: symbol ap_block_alarms: referenced symbol not found

I've compiled apache with:
./configure --prefix=/local/apache/httpd --enable-module=so
make and install are ok

I've compiled php whith:
./configure --with-apxs=/local/httpd/bin/apxs --with-config-file-path=/local/php/lib --without-mysql --prefix=/local/php
make and install are ok

I am on a: SunOS web 5.8 Generic_108528-03 sun4m sparc SUNW,SPARCstation-20

What is wrong?

Thank's a lot.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-29 09:33 UTC] sniper@php.net
Try this configure line for Apache:

./configure --enable-shared=max --enable-rule=SHARED_CORE

--Jani

 [2001-10-02 19:17 UTC] sniper@php.net
No feedback, considered fixed.

 [2002-02-25 07:00 UTC] dlt at lunanet dot biz
This fix works.
System is Sparc solaris 8 (10/01). gcc 2.95.2. Apache 1.3.23, php-4.1.1. 
Tried different gcc versions (2.8.1, 2.95.2, 3.0.4) and either they gave me this error or they core dumped when starting apache while trying to load libphp.so. I did not go back and test if it worked ok on the other compilers. Was just happy I got it working and figured it was best to leave well enough alone. 

Apache configuration was:
./configure --enable-module=headers --enable-module=expires --enable-module=info --enable-module=log_agent --enable-module=log_referer --enable-module=rewrite --enable-module=so --enable-module=ssl --prefix=/usr/local/pkg/apache/apache-1.3.23 --enable-shared=max --enable-rule=SHARED_CORE

php config was: 
./configure --with-apxs=/usr/local/pkg/apache/apache-1.3.23/bin/apxs --enable-bcmath --enable-calendar --enable-ftp --with-imap=/tmp/imap-2001a --with-mysql --prefix=/usr/local/pkg/php/php-4.1.1 --with-imap-ssl=/usr/local/pkg/openssl/openssl-0.9.6c

Sorry if this reopened a bug ticket!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 04:01:30 2024 UTC