php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6667 cannot start httpd with php4 udivdi3: referenced symbol not found
Submitted: 2000-09-12 01:47 UTC Modified: 2000-12-15 19:53 UTC
From: graham at tradonix dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0.2 OS: Solaris 2.7 x86
Private report: No CVE-ID: None
 [2000-09-12 01:47 UTC] graham at tradonix dot com
See bug report #4179 which is identical except for Solaris version. 

The report is closed as fixed but I still have the problem in release 4.0.2

Cannot start httpd reports udivdi3: referenced symbol not found


# ./S99httpd start
Starting httpd
Syntax error on line 234 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1: /usr/loca
l/apache/bin/httpd: fatal: relocation error: file /usr/local/apache/libexec/libp
hp4.so: symbol __udivdi3: referenced symbol not found
/usr/local/apache/bin/apachectl start: httpd could not be started
#                      
# uname -a
SunOS trix 5.7 Generic_106542-12 i86pc i386 i86pc

compiled from source with-apxs with-mysql enable-versioning enable-track-vars

# ldd -r libphp4.so
        libpam.so.1 =>   /usr/lib/libpam.so.1
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libgen.so.1 =>   /usr/lib/libgen.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        symbol not found: ap_block_alarms               (./libphp4.so)
        symbol not found: ap_unblock_alarms             (./libphp4.so)
        symbol not found: ap_group_id           (./libphp4.so)
        symbol not found: top_module            (./libphp4.so)
        symbol not found: ap_user_name          (./libphp4.so)
        symbol not found: ap_max_requests_per_child             (./libphp4.so)
        symbol not found: ap_server_root                (./libphp4.so)
        symbol not found: ap_user_id            (./libphp4.so)
        symbol not found: ap_rwrite             (./libphp4.so)
        symbol not found: ap_rflush             (./libphp4.so)
        symbol not found: ap_signal             (./libphp4.so)
        symbol not found: ap_hard_timeout               (./libphp4.so)
        symbol not found: ap_get_client_block           (./libphp4.so)
        symbol not found: ap_reset_timeout              (./libphp4.so)
        symbol not found: ap_table_get          (./libphp4.so)
        symbol not found: ap_pstrdup            (./libphp4.so)
        symbol not found: ap_table_add          (./libphp4.so)
        symbol not found: ap_table_set          (./libphp4.so)
        symbol not found: ap_send_http_header           (./libphp4.so)
        symbol not found: ap_log_error          (./libphp4.so)
        symbol not found: ap_block_alarms               (./libphp4.so)
        symbol not found: ap_register_cleanup           (./libphp4.so)
        symbol not found: ap_unblock_alarms             (./libphp4.so)
        symbol not found: ap_getword            (./libphp4.so)
        symbol not found: ap_uudecode           (./libphp4.so)
        symbol not found: ap_getword_nulls_nc           (./libphp4.so)
        symbol not found: ap_setup_client_block         (./libphp4.so)
        symbol not found: ap_update_mtime               (./libphp4.so)
        symbol not found: ap_set_last_modified          (./libphp4.so)
        symbol not found: ap_set_etag           (./libphp4.so)
        symbol not found: ap_add_common_vars            (./libphp4.so)
        symbol not found: ap_add_cgi_vars               (./libphp4.so)
        symbol not found: ap_kill_timeout               (./libphp4.so)
        symbol not found: ap_add_version_component              (./libphp4.so)
        symbol not found: ap_sub_req_lookup_uri         (./libphp4.so)
        symbol not found: ap_destroy_sub_req            (./libphp4.so)
        symbol not found: ap_run_sub_req                (./libphp4.so)
        symbol not found: __udivdi3             (./libphp4.so)
# uname -a
SunOS trix 5.7 Generic_106542-12 i86pc i386 i86pc

Apache 1.3.6
Current PHP 3.0.7 is OK


I tried the apxs fix in the FAQ  but this didn't work.




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-13 10:09 UTC] kir@php.net
Try adding --enable-libgcc to your configure line.
 [2000-12-15 19:53 UTC] sniper@php.net
No feedback.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Sep 28 13:01:23 2020 UTC