RPMBuild error

roger at audiblefaith.com roger at audiblefaith.com
Tue Nov 23 18:30:08 UTC 2004


>> /usr/bin/ld: cannot find -lgcc_s
>
>That line looks way wrong.  I can understand "cannot find libgcc_s.so",
>but not one with the "-l" in front.
>Uh, check the Makefile.  It looks like somewhere in there it's doing
>an "-l -lgcc_s".  It may be from a macro, so check those, too.  Check
>for "EXTRALIBS" or something like that and make sure it just has "gcc_s"
>in it, not preceeded by "-l".  A quick check would be by going to the
>top level directory of the source and:
>
>    grep -r "-lgcc" *
>
>If you find such a beast, make sure you squawk it via bugzilla. 

Only thing grep came up with was in the BUILD/php-4.2.2/configure file:
  LIBS="$LIBS -lgcc"

 on line 9391

The rpmbuild gets through the build stage, but can't configure.

Thanks,
Roger





More information about the Redhat-install-list mailing list