php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33307 PPC64 "R_PPC_REL24 relocation for symbol 'signal' out of range"
Submitted: 2005-06-10 22:27 UTC Modified: 2005-06-21 01:00 UTC
From: cjharrisr66t at yahoo dot com Assigned:
Status: No Feedback Package: Dynamic loading
PHP Version: 4.3.11 OS: Yellowdog 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
39 + 45 = ?
Subscribe to this entry?

 
 [2005-06-10 22:27 UTC] cjharrisr66t at yahoo dot com
Description:
------------
Running Kernel 2.6.10 on mac xserve G5, with the archecture ppc64
PHP 4.3.11 5.0.4 both compile/install well with out any errors. 
Hers my configure line
--------------------------------------------------
./configure \
--build=powerpc-yellowdog-linux-gnu \
--target=ppc-yellowdog-linux-gnu --program-prefix= \ --prefix=/usr \
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin \
--sysconfdir=/etc --datadir=/usr/share \ --includedir=/usr/include\
--libdir=/usr/lib --libexecdir=/usr/libexec\
--localstatedir=/var\
--sharedstatedir=/usr/com --mandir=/usr/share/man\
--infodir=/usr/share/info --cache-file=../config.cache\
--with-config-file-path=/etc\ --with-config-file-scan-dir=/etc/php.d\
--enable-force-cgi-redirect --disable-debug --enable-pic\
--disable-rpath --enable-inline-optimization --with-bz2\
--with-db4=/usr --with-curl --with-exec-dir=/usr/bin\
--with-freetype-dir=/usr --with-png-dir=/usr --with-gd\
--enable-gd-native-ttf --without-gdbm --with-gettext\
--with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr\
--with-openssl --with-png --with-pspell --with-regex=system\
--with-xml --with-expat-dir=/usr --with-dom=shared,/usr\
--with-dom-xslt=/usr --with-dom-exslt=/usr\ --with-xmlrpc=shared\
--with-pcre-regex --with-zlib --with-layout=GNU\ --enable-bcmath\
--enable-exif --enable-ftp --enable-magic-quotes\
--enable-safe-mode --enable-sockets --enable-sysvsem\
--enable-sysvshm --enable-track-vars --enable-trans-sid\
--enable-yp --enable-wddx --with-pear=/usr/share/pear\
--with-imap=shared --with-imap-ssl --with-kerberos\
--with-ldap=shared --with-mysql=/usr/local/mysql\
--enable-memory-limit --enable-bcmath --enable-shmop\
--enable-calendar --enable-dbx --enable-dio --enable-mcal\
--enable-mbstring=shared --enable-mbstr-enc-trans\
--enable-mbregex --with-apxs2=/usr/sbin/apxs
---------------
There have been no changes to my php.ini. The module has been added to apache. But when trying to start apache version 2.0.51, it does not start and in apaches error log i find the error.

Syntax error on line 6 of /etc/httpd/conf.d/php.conf:
Cannot load /usr/lib/httpd/modules/libphp4.so into server: /usr/lib/httpd/module
s/libphp4.so: R_PPC_REL24 relocation at 0x0ddcf97c for symbol `signal' out of range


I have seen that has been peolple with similar problems, in the far past but, I'm not sure if this the same problem. Please let me know if I can provide any more information. 


-Cameorn


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-11 15:15 UTC] sniper@php.net
Try this:

# rm -f config.cache && ./configure  --disable-all --with-apxs2=/usr/sbin/apxs
# make clean && make

And copy the resulting .libs/libphp4.so to the correct place and try starting Apache again. (stop && start)

 [2005-06-11 15:17 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Get the snapshot and try what I suggested before.

 [2005-06-13 21:51 UTC] cjharrisr66t at yahoo dot com
I tried using the snapshot with everything disabled by following sniper's insructions, so aprently the problem is caused by some thing I enabled when I configured php. But I need alot of those options.
 [2005-06-13 22:44 UTC] sniper@php.net
Try --with-pic / --without-pic

 [2005-06-21 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, 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: Thu Mar 28 08:01:28 2024 UTC