php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24215 make install fails unless '--without-pear' specified
Submitted: 2003-06-17 00:04 UTC Modified: 2003-07-07 02:42 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: biclops at nosivad dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 4.3.2 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: biclops at nosivad dot com
New email:
PHP Version: OS:

 

 [2003-06-17 00:04 UTC] biclops at nosivad dot com
Description:
------------
Recently installed php. Reinstalled so that I could use expat lib. Only the last line (specifying expat dir) was added to configure and 'make install' failed.

./configure \
--enable-shmop \
--enable-sysvsem --enable-sysvshm \
--enable-apc \
--with-oci8=/usr/local/oracle/8i/u01/app/oracle/product/8.1.6 \
--enable-debug=no \
--enable-track-vars \
--with-apache=../apache_1.3.27 \
--enable-trans-sid \
--with-cpdflib \
--with-gd  --with-pdflib=/usr/local \
--with-ttf=/usr/local/include             \
--with-jpeg-dir=/usr --with-tiff-dir=/usr \
--with-zlib-dir=/usr/include \
--with-curl=/usr/local \
--with-expat-dir=/usr/local \

Output of 'make install':

Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PHP SAPI module
Installing shared extensions:     /usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:      /usr/local/lib/php/
/home/pointstreak/data/serversoftware/src/ultramagnus/php-4.3.2/sapi/cli/php: error while loading shared libraries: unexpected reloc type 0xa9
make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2

I added '--without-pear' and 'make install' worked without error.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-30 08:00 UTC] cox@php.net
The error comes here:

/home/pointstreak/data/serversoftware/src/ultramagnus/php-4.3.2/sapi/cli/php: error while loading shared libraries: unexpected reloc type 0xa9

This is not related to PEAR, reclassified.
 [2003-06-30 08:15 UTC] sniper@php.net
It means that sapi/cli/php used reads an old php.ini which contains some extension that uses some shared resources that have changed or something. 

This is PEAR bug as no php.ini should be read during 'make install' to prevent such issues..

 [2003-06-30 08:18 UTC] sniper@php.net
Nevermind the previous comment, there is '-n' in there.
biclops at nosivad dot com:

Can you please try running 'sapi/cli/php -m' to see whether the error happens as is. If it happens, do 'ldd sapi/cli/php' and add the output here.

 [2003-06-30 11:05 UTC] cox at idecnet dot com
Jani, was you the guy who added the "-n" option in  
Makefile.frag on Nov 12 2002 ;)
 [2003-07-07 02:42 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2004-10-23 09:26 UTC] kevin at hairui dot com
I have met the same problem when install php 4.3.9
 [2004-10-23 09:36 UTC] kevin at hairui dot com
root@test php-4.3.9]# sapi/cli/php -m
sapi/cli/php: error while loading shared libraries: unexpected reloc type 0xd9

[root@test php-4.3.9]# ldd sapi/cli/php
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001c000)
        libpq.so.2 => /usr/local/pgsql/lib/libpq.so.2 (0x40049000)
        libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40058000)
        libz.so.1 => /usr/local/lib/libz.so.1 (0x400bd000)
        libpng.so.3 => /usr/local/lib/libpng.so.3 (0x400cc000)
        libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400f9000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40117000)
        libm.so.6 => /lib/libm.so.6 (0x40129000)
        libdl.so.2 => /lib/libdl.so.2 (0x4014c000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40150000)
        libc.so.6 => /lib/libc.so.6 (0x40168000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC