Bug 163078
Summary: | ADA compile error, /usr/bin/ld: cannot find -lgnat-3.4 for x86_64 (RHEL4-U1) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Jack Pogue <pogue.iii> |
Component: | comps | Assignee: | Radovan Musil <rmusil> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | CC: | jakub, notting |
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: | 2011-12-13 20:24:27 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
Jack Pogue
2005-07-12 19:20:56 UTC
What the following commands prints on your box? rpm -q --qf '%{name}-%{version}-%{release}.%{arch}\n' libgnat Sounds like you don't have libgnat-3.4.*.x86_64.rpm installed. Apparently when the OS installs, libgnat-3.4.3-22.1.i386 is installed by default instead of libgnat-3.4.3-22.1.x86_64. To fix the problem, I couldn't just upgrade libgnat with the x86_64 version, had to remove gcc-gnat and libgnat PRIOR to reinstalling them. Everything seems to be working fine now. My only suggestion is that the default OS installation procedure should be changed to install the x86_64 version instead of the i386 version. Thanks again. Did you install RHEL4 GA and then upgraded to RHEL4 U1 or installed RHEL4 U1? RHEL4 GA did not include x86-64 libgnat (nor gcc-gnat), only U1+ does. In any case, the default selection of packages is a comps issue. IMHO neither gcc-gnat, nor libgnat.x86_64, nor libgnat.i386 should be the default in any category, only optional. libgnat is in the "Compatibility Arch Support". All the packages in there currently are either marked default or mandatory. It's easy enough to mark it optional, but I've got to wonder though if anyone out there relies upon it's presence. Oddly enough, it looks like the only package that requires libgnat is gcc-gnat (which is basearchonly). I wonder why libgnat was ever added as to the compat arch list. CC'ing notting. To answer your previous questions, I installed RHEL4 U1 from scratch (no upgrades). Perhaps the reason libgnat is installed is in case users need to run precompiled ADA programs that weren't built to run entirely stand-alone, thus needing the libs? Yes, the i386 libgnat is there to support running i386 Ada programs on x86-64. This is not going to be changed in RHEL 4 at this time, sorry. |