Bug 150852

Summary: error on building php-4.3.10-2.4.src.rpm
Product: [Fedora] Fedora Reporter: Christoph Franke <news>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-11 13:06:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christoph Franke 2005-03-11 12:40:46 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.6)
Gecko/20050223 Firefox/1.0.1

Description of problem:
I tried to upgrade my MySQL installation on a FC2 Server (amd64). I
installed the website's rpms and went on compiling a new php, which
links to the right MySQL libraries. But I didn't get the src.rpm
compiled. Here is the error message:

/usr/bin/ld:
/usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libc-client.a(osdep.o):
relocation R_X86_64_32 can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc-lib/x86_64-redhat-linux/3.3.3/../../../../lib64/libc-client.a:
could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [ext/imap/imap.la] Error 1
make: *** Waiting for unfinished jobs....
Fehler: Bad exit status from /var/tmp/rpm-tmp.19580 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.19580 (%build)

Version-Release number of selected component (if applicable):
php-4.3.10-2.4

How reproducible:
Always

Steps to Reproduce:
1.rpmbuild --rebuild php-4.3.10-2.4.src.rpm
2.
3.
    

Additional info:

A rebuild of a php 5.03 src rpm didn't work either and brought up the
same error messages.

Comment 1 Joe Orton 2005-03-11 12:50:43 UTC
What's the output of:

rpm -q libc-client libc-client-devel
rpm -V libc-client libc-client-devel
rpm -ql libc-client libc-client-devel | grep /usr/lib


Comment 2 Christoph Franke 2005-03-11 13:03:07 UTC
rpm -q libc-client libc-client-devel
Paket libc-client ist nicht installiert
libc-client-devel-2002e-5

rpm -V libc-client libc-client-devel
Paket libc-client ist nicht installiert

rpm -ql libc-client libc-client-devel | grep /usr/lib
/usr/lib64/c-client.a
/usr/lib64/libc-client.a
/usr/lib64/libc-client.so

So, the package libc is not installed.

Comment 3 Christoph Franke 2005-03-11 13:03:38 UTC
Sorry, meant libc-client is not installed.

Comment 4 Joe Orton 2005-03-11 13:06:29 UTC
You need to install it then.  The the -devel package requires it in
FC3 and later which would prevent this failure mode.

Comment 5 Christoph Franke 2005-03-11 13:32:54 UTC
Worked. Thanks.