Red Hat Bugzilla – Bug 109923
Rebuild with build_libgs generates libstdc++.so.4 dependency
Last modified: 2007-11-30 17:10:33 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
Tried to rebuild the source rpm after editing the spec file in order
to get the shared library libgs.so included in the binary package. The
compilation completes but the resulting rpm file reports dependency on
libstdc++.so.4, which is not intalled, nor is provided by any package
I could find. The library present is libstdc++.so.5.
The command "ldd BUILD/ghostscript-7.07/sobin/libgs.so" also shows the
dependency on the libstdc++.so.4 library.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install the src rpm file
2.Edit SPECS/ghostcript.spec, seting build_libgs
3.Run rpmbuild -bb ghostscript.spec
4.Try to install the binary rpm file.
Actual Results: The rpm command returns the error:
error: Failed dependencies:
libstdc++.so.4 is needed by ghostscript-7.07-11
Expected Results: No error
Works fine here.
What can be wrong here?
My system is: P4-1.8Ghz, 528Mb RAM, Fedora Core 1 freshly installed
You can get a log of the rebuild process in:
Maybe this helps. Thanks
Some more information:
I tried to recompile again the sorce rpm with build_gslib set to 1,
but this time in another system with RH9 and gcc 3.2.2-5. Now the
resulting binary rpm is OK. Strange...
Can this be due to the gcc compiler in Fedora?