Bug 238112
| Summary: | libstdc++.a symbolic link to non existing file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Feike Boomstra <f.p.boomstra> |
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6 | ||
| 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: | 2007-04-27 09:03:37 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
Feike Boomstra
2007-04-27 08:50:53 UTC
If you want to link 32-bit C++ programs on x86_64, you need to make sure libstdc++-4.1.*.i386.rpm is installed. The i386 as well as the x86_64 is installed, but it doesn't provide the file /usr/lib/gcc/i386-redhat-linux/4.1.1/libstdc++.a [feike@feike ~]$ rpm -q libstdc++ libstdc++-4.1.1-51.fc6 libstdc++-4.1.1-51.fc6 [feike@feike ~]$ rpm -ql libstdc++ /usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.6.0.8 /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.6.0.8 Yeah, but you certainly don't have libstdc++-devel-4.1.1-51.fc6.i386.rpm installed. libstdc++ is the runtime library only package, libstdc++-devel is for compilation/linking against that. You are right, but I have the libstdc++-devel-4.1.1-51.fc6.x86_64.rpm installed, [feike@feike ~]$ rpm -qi libstdc++-devel Name : libstdc++-devel Relocations: (not relocatable) Version : 4.1.1 Vendor: Red Hat, Inc. Release : 51.fc6 Build Date: Sat 06 Jan 2007 08:26:12 PM CET Install Date: Sun 22 Apr 2007 10:33:20 AM CEST Build Host: ls20-bc1-14.build.redhat.com Group : Development/Libraries Source RPM: gcc-4.1.1-51.fc6.src.rpm Size : 75468132 License: GPL Signature : DSA/SHA1, Wed 10 Jan 2007 04:22:34 PM CET, Key ID b44269d04f2a6fd2 Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> URL : http://gcc.gnu.org Summary : Header files and libraries for C++ development Description : This is the GNU implementation of the standard C++ libraries. This package includes the header files and libraries needed for C++ development. This includes rewritten implementation of STL. and rpm refuse to install the i386 package: package allready installed. Not sure how you tried to install it, it certainly works for me. E.g. yum install libstdc++-devel.i386 works just fine. You are right, yum works fine. I've got it working. (Nb. What I tried: I downloaded the rpm file and in the download window there is an option open. With that installer I was not able to install the package.) Appearantly it was not a bug, so you are welcome to close it right away, but can you tell me where I can find the info how to solve such an issue myself? Anyway, thanks a lot, kind regards, Feike Boomstra With all things running, I finally was able to find out how things went. In one way or another I had installed the i386 version of the compiler. Appearantly there is a dependency missing to the devel library. |