php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12222 Unresolved symbol _umoddi3
Submitted: 2001-07-18 02:14 UTC Modified: 2001-07-18 05:02 UTC
From: r dot kalemba at mvnet dot de Assigned:
Status: Closed Package: *Web Server problem
PHP Version: 4.0.6 OS: HPUX 10.20
Private report: No CVE-ID: None
 [2001-07-18 02:14 UTC] r dot kalemba at mvnet dot de
Software:

HPUX 10.20
gcc 2.8.1 

apache 1.3.19
( ./configure \
"--with-layout=Apache" \
"--prefix=/usr/local/apache1319" \
"--enable-module=most" \
"--enable-shared=max" \
"--add-module=mod_frontpage.c" \
"--activate-module=src/modules/jserv/mod_jserv" \ )

php 4.0.6
./configure  --with-mysql=/usr/local/mysql ( Version 3.22.32 )
--enable-track-vars --prefix=/usr3/php4.0.6
--with-apxs=/usr/local/apache1319/bin/apxs

Compile is OK !

http.test :
LoadModule php4_module        libexec/libphp4.sl
AddModule mod_php4.c

Start Apache :
./src/httpd -f /usr/local/apache1319/conf/httpd.test

Error:
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code)  from 
/usr/local/mysql/lib/mysql/libmysqlclient.sl.6
Syntax error on line 58 of /usr/local/apache1319/conf/httpd.test:
Cannot load /usr/local/apache1319/libexec/libphp4.sl into server: No such file or
directory

Without PHP4 is all OK !
Can you help me ?

R.K.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-18 05:02 UTC] rasmus@php.net
This happens on systems where you have some libraries linked by a native compiler/linker and others linked by gcc and you try to create a single binary from the jumble of stuff.  Your best bet is to compile and link everything with the same compiler, but if you can't do that, try simply adding --enable-libgcc to PHP's configure line.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 17:01:27 2019 UTC