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.
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
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.
Sorry, meant libc-client is not installed.
You need to install it then. The the -devel package requires it in FC3 and later which would prevent this failure mode.
Worked. Thanks.