[PHP-DEV] PHP 3.0RC4: Cannot load as dynamic module, Apache 1.3b6, Solaris 2.5.1x86 From: C. R. Oldham (cro <email protected>)
Date: 04/30/98

Greetings,

I'm new to the list, apologies if I didn't post this in the right place.

I searched the archives (painfully--why is the search so slow?) and
looked in the bug database. I was going to file a bug report, but
decided instead to post here to see if anyone else knew what was going
on.

I followed the instructions exactly several times trying to build php3
so it would load as a shared module on Apache 1.3b6. It works fine as a
static module, but as I'm still testing php3 for some projects here I
would really like to load it shared. Here's the error I get:

# /usr/local/apache/sbin/apachectl start
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
env_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
config_log_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
mime_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
negotiation_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
status_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
info_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
includes_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
autoindex_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
dir_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
cgi_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
asis_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
imap_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
action_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
speling_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
userdir_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
alias_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
access_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
auth_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
digest_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
expires_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
usertrack_module
[Thu Apr 30 09:25:06 1998] [debug] mod_so.c(258): loaded module
setenvif_module
Syntax error on line 43 of /usr/local/apache/etc/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp3.so into server: ld.so.1:
/usr/local/apache/sbin/httpd: fatal: relocation error: symbol not found:
__umoddi3: referenced in /usr/local/apache/libexec/libphp3.so
/usr/local/apache/sbin/apachectl start: httpd could not be started

I've looked *everywhere* for umoddi3. I even spent quite a bit of time
with nm and ar trying to see where that function might be referenced.
This has got to be a simple fix, but I'm stuck.

Apache and php3 were compiled with gcc 2.7.2 on Solaris 2.5.1 x86.

Thanks in advance.

--
| Charles R. (C. R.) Oldham     | NCA Commission on Schools        |
| cro <email protected>               | Arizona St. Univ., PO Box 873011,|
| V:602/965-8700 F:602/965-9423 | Tempe, AZ 85287-3011           _ |
| "I like it!"--Citizen G'Kar   | #include <disclaimer.h>       X_>|