Bug 18356
Summary: | Undefined references with libX11.so and egcs++ | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <minutsil> |
Component: | egcs | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2000-10-04 19:21:41 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
Need Real Name
2000-10-04 19:21:38 UTC
First of all, I'd be interested in bugzilla reports about apps which you are not able to build with gcc 2.96 (unless it is an obvious error in the package, like lyx), best with all relevant details. Second, if you're using egcs++, then you either have to make sure -L/usr/lib is on the command line, or -L/usr/i386-glibc21-linux/lib/ is given before -L/usr/X11R6/lib, or compat-libs and compat-glibc packages are not installed. The issue is that egcs++ adds -L/usr/i386-glibc21-linux/lib internally to search path, so that binaries built with it can be run on RH 6.x. But if libc is picked from that directory (there is a RH 6.x glibc), you need to make sure libX11 is picked from there as well, because you cannot mix X11 libraries linked against glibc 2.1.9x with glibc 2.1.3. Look at kde1 src.rpms in the distribution, they are also compiled with egcs++ (because KDE1 does not follow C++ standards too closely) and they make sure the libraries match. |