php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18539 symbol __umoddi3: referenced symbol not found
Submitted: 2002-07-24 11:10 UTC Modified: 2002-07-25 04:59 UTC
From: mail at bealers dot com Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.2.2 OS: Solaris
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mail at bealers dot com
New email:
PHP Version: OS:

 

 [2002-07-24 11:10 UTC] mail at bealers dot com
This is a fresh compile of 4.2.2 on solaris as a DSO and it's breaking. I've had to roll back to 4.0.5 for now (compiling using the same libraries)

Config follows...

running on ==>

root@bowman root] uname -a
SunOS bowman 5.8 Generic_108529-08 i86pc i386 i86pc

error when starting apache (1.3.26) ===>

root@bowman local] /usr/local/www/sbin/apachectl start
          Syntax error on line 244 of /usr/local/www/etc/httpd.conf:
Cannot load /usr/local/www/libexec/libphp4.so into server: ld.so.1: /usr/local/www/sbin/httpd: fatal: relocation error: file /usr/local/www/libexec/libphp4.so: symbol __umoddi3: referenced symbol not found
/usr/local/www/sbin/apachectl start: httpd could not be started

compiled with ===>

./configure --with-apxs=/usr/local/www/sbin/apxs --with-mysql=/usr/local/mysql/ \
--prefix=/usr/local/php --enable-wddx --enable-trans-sid --enable-track-vars \
--with-openssl=/usr/local/ssl --with-zlib-dir=/usr/local/lib \
--with-gd=../gd-1.8.4/ --with-jpeg-dir=/usr/local

ldd ===>

root@bowman local] ldd /usr/local/www/libexec/libphp4.so
                  libdl.so.1 =>    /usr/lib/libdl.so.1
    libpam.so.1 =>   /usr/lib/libpam.so.1
        libmysqlclient.so.10 => /usr/local/mysql/lib/mysql/libmysqlclient.so.10
        libjpeg.so.62 =>         /usr/local/lib/libjpeg.so.62
        libcrypt_i.so.1 =>       /usr/lib/libcrypt_i.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.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

(these all exist)

LD_LIBRARY_PATH ===>

root@bowman local] echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/local/mysql/lib/mysql:/usr/local/ssl/lib:/usr/local/www/libexec:/usr/lib

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-24 20:04 UTC] sniper@php.net
Try adding '--enable-libgcc' to your PHP configure line.

 [2002-07-25 04:59 UTC] mail at bealers dot com
that fixed my problem thanks
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 14:01:30 2024 UTC