RPMBuild error
Rick Stevens
rstevens at vitalstream.com
Wed Nov 17 19:45:34 UTC 2004
Roger Harrell wrote:
> I have installed everything that were listed as dependancies (after
> chasing a few dependancy chains). Now when I do an rpmbuild it runs for
> quite a while, but then fails with:
>
> /usr/bin/ld: cannot find -lgcc_s
> collect2: ld returned 1 exit status
> make[1]: *** [php] Error 1
> make[1]: Leaving directory `/usr/src/redhat/BUILD/php-4.2.2/build-cgi'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.47783 (%build)
>
>
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.47783 (%build)
>
> Anyone know what packages is needed for -lgcc_s?
libgcc:
[root at prophead lib]# rpm -qif /lib/libgcc_s.so.1
Name : libgcc Relocations: (not relocateable)
Version : 3.3.2 Vendor: Red Hat, Inc.
Release : 1 Build Date: Thu 23 Oct 2003
10:27:11 AM PDT
Install Date: Fri 16 Apr 2004 03:18:45 PM PDT Build Host:
porky.devel.redhat.com
Group : System Environment/Libraries Source RPM: gcc-3.3.2-1.src.rpm
Size : 31004 License: GPL
Signature : DSA/SHA1, Tue 28 Oct 2003 04:12:13 PM PST, Key ID
b44269d04f2a6fd2Packager : Red Hat, Inc.
<http://bugzilla.redhat.com/bugzilla>
URL : http://gcc.gnu.org
Summary : GCC version 3.0 shared support library.
Description :
Some GCC version 3.0 and later compiled libraries and/or binaries
need this shared support library.
Well, that's under FC1.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- What's small, yellow and very, VERY dangerous? The root canary! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list