|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17273 symbol not found
Submitted: 2002-05-16 12:53 UTC Modified: 2002-07-07 01:00 UTC
Avg. Score:4.8 ± 0.4
Reproduced:8 of 8 (100.0%)
Same Version:1 (12.5%)
Same OS:5 (62.5%)
From: jacksonr at nerc dot net Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.2.1 OS: Solaris 2.8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-05-16 12:53 UTC] jacksonr at nerc dot net
After compiling and installing PHP apache would not load the module. After runnin apachectl configtest this was the result:

Syntax error on line 206 of /www/conf/httpd.conf:
Cannot load /www/libexec/ into server: /www/bin/httpd: fatal: relocation error: file /www/libexec/ symbol ap_block_alarms: referenced symbol not found

The program versions are as follows:
Apache version - 1.3.23
PHP version - 4.2.1
Imap version - 2001a
Kerberos version 5-1.2.5

Here are the results on running ldd -r on the
ldd -r /www/libexec/ =>    /usr/lib/ =>   /usr/lib/ =>  /usr/local/mysql/lib/mysql/ =>       /usr/lib/ =>        /usr/lib/ =>     /usr/lib/ =>        /usr/lib/ =>     /usr/lib/ =>       /usr/lib/ =>   /usr/lib/ =>   /usr/lib/ =>         /usr/local/lib/ =>    /usr/lib/
        symbol not found: ap_block_alarms               (/www/libexec/
        symbol not found: ap_unblock_alarms             (/www/libexec/
        symbol not found: ap_user_id            (/www/libexec/
        symbol not found: ap_server_root                (/www/libexec/
        symbol not found: ap_group_id           (/www/libexec/
        symbol not found: ap_user_name          (/www/libexec/
        symbol not found: top_module            (/www/libexec/
        symbol not found: ap_max_requests_per_child             (/www/libexec/
        symbol not found: ap_table_get          (/www/libexec/
        symbol not found: ap_table_setn         (/www/libexec/
        symbol not found: ap_update_mtime               (/www/libexec/
        symbol not found: ap_kill_timeout               (/www/libexec/
        symbol not found: ap_uudecode           (/www/libexec/
        symbol not found: ap_setup_client_block         (/www/libexec/
        symbol not found: ap_add_cgi_vars               (/www/libexec/
        symbol not found: ap_getword            (/www/libexec/
        symbol not found: ap_getword_nulls_nc           (/www/libexec/
        symbol not found: ap_destroy_sub_req            (/www/libexec/
        symbol not found: ap_pstrdup            (/www/libexec/
        symbol not found: ap_log_error          (/www/libexec/
        symbol not found: ap_table_add          (/www/libexec/
        symbol not found: ap_sub_req_lookup_uri         (/www/libexec/
        symbol not found: ap_run_sub_req                (/www/libexec/
        symbol not found: ap_register_cleanup           (/www/libexec/
        symbol not found: ap_signal             (/www/libexec/
        symbol not found: ap_send_http_header           (/www/libexec/
        symbol not found: ap_pstrndup           (/www/libexec/
        symbol not found: ap_block_alarms               (/www/libexec/
        symbol not found: ap_child_terminate            (/www/libexec/
        symbol not found: ap_set_etag           (/www/libexec/
        symbol not found: ap_rwrite             (/www/libexec/
        symbol not found: ap_table_set          (/www/libexec/
        symbol not found: ap_get_client_block           (/www/libexec/
        symbol not found: ap_add_version_component              (/www/libexec/
        symbol not found: ap_hard_timeout               (/www/libexec/
        symbol not found: ap_rflush             (/www/libexec/
        symbol not found: ap_set_last_modified          (/www/libexec/
        symbol not found: ap_reset_timeout              (/www/libexec/
        symbol not found: ap_unblock_alarms             (/www/libexec/
        symbol not found: ap_add_common_vars            (/www/libexec/

And on my httpd:
ldd -r /www/bin/httpd =>        /usr/lib/ =>   /usr/lib/ =>       /usr/lib/ =>       /usr/lib/ =>     /usr/lib/ =>    /usr/lib/ =>    /usr/lib/ =>   /usr/lib/
        /usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/ =>        /usr/lib/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-22 07:12 UTC] royw at imsi dot com
I've seen the exact same issue on Solaris 8 using php4-STABLE-200205210600. am going to try with 4.2.1 now.

 [2002-05-22 07:14 UTC] royw at imsi dot com
php-4.2.1 wont make on Solaris 8 for me, if complains about not being able to fins unix.h almost immediatley i use make.

but it makes fine using the -STABLE- version i quoted above.

 [2002-05-22 07:35 UTC]
Try CC=gcc ./configure ... and see if this works with 4.2.1 on solaris
 [2002-06-04 16:24 UTC] starbuck dot 1 at osu dot edu
I have identical issues building apache/php on Solaris 8 as
reported.  I have applied Sun patch Patch-ID# 109147-16, but
was already a patched version of gcc, so that made no dif-
ference.  I have the same results when I execute 
ldd -r /www/apache/libexec/, ie. long list of 
sybols not found.  The only thing I haven't tried at this
point is using Sun's C compiler, and Suns assembler,
currently I'm using gcc and gnu binutils, etc.  

Any suggestions will be gratefully considered!!

Thanks, Vickie
 [2002-06-06 10:58 UTC] jerry dot lundstrom at se dot tiscali dot com
Same problem.

# uname -a
SunOS XXXX 5.8 Generic_108528-13 sun4u sparc
# gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
CC="gcc" ./configure --with-apxs=/usr/local/apache/bin/apxs \
	--prefix=/usr/local/php \
	--without-system-regex \
	--enable-track-vars \
	--with-mysql=/usr/local/mysql \
	--with-jpeg-dir \
	--with-gd \
	--with-dbase \
	--with-ttf \

going to try adding --enable-libgcc and check, will report.
 [2002-06-06 11:15 UTC]
It's most likely your apache that is compiled wrong.
Try this configure line for Apache:

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

 [2002-06-07 06:05 UTC] jerry dot lundstrom at se dot tiscali dot com
--enable-rule=SHARED_CORE did the trick, also notice that if you are compiling in mod_perl support you need to edit src/Configuration to set "Rule SHARED_CORE=yes" because mod_perl will mess it up if you dont (goes for all added modules also).
 [2002-07-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 12 18:01:34 2024 UTC