This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Cannot ./configure on FC3 with gcc 3.4.2
Type: Stage:
Components: Build Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: liturgist, loewis
Priority: normal Keywords:

Created on 2005-01-26 16:24 by liturgist, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg24054 - (view) Author: liturgist (liturgist) Date: 2005-01-26 16:24
Trying to run ./configure fails with the message:

configure: error: cannot run C++ compiled programs.

The config.log file reports:

version 'GCC_3.3' not found (required by
usr/lib/libstdc++.so.6)

FC3 is delivered with gcc 3.4.2.

What is the best path to a fix for this?  Must I
regress to an older compiler?
msg24055 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2005-01-29 14:08
Logged In: YES 
user_id=21627

This is clearly a bug in your gcc installation - perhaps
some library is not up-to-date, or libstdc++ was compiled
with the wrong compiler. You should report this to the FC3
developers.

As a work-around, you can configure your Python --without-cxx.
msg24056 - (view) Author: liturgist (liturgist) Date: 2005-01-30 02:38
Logged In: YES 
user_id=197677

The fc3 group begs to differ with the assessment.  Perhaps
someone can comment on the response to Buzilla 146563.  If
this bug is closed again, that's fine.  I do not think I
would try to reopen it.

https://bugzilla.redhat.com/beta/show_bug.cgi?id=146563

------- Additional Comments From jakub@redhat.com 
2005-01-29 14:12 EST -------
/usr/local/abinitio/lib/libgcc_s.so.1: version `GCC_3.3' not
found (required by
/usr/lib/libstdc++.so.6)

/usr/local/abinitio/lib/libgcc_s.so.1 is not part of Fedora
Core, and is
older than the system libgcc_s.so.1 in /lib/.
The bug is that you are thus overriding a system library
with an incompatible
(well, in this case likely just older) one.
You need to avoid that.
In this particular case I guess just rm -f
/usr/local/abinitio/lib/libgcc_s*
would DTRT (perhaps make a backup copy of that).

But it is certainly not a bug in the distro, but a problem
caused by badly
packaged 3rd party software.
msg24057 - (view) Author: liturgist (liturgist) Date: 2005-01-30 02:51
Logged In: YES 
user_id=197677

My apologies.  The problem was another libgcc_s.so that was
installed by another third-party product, not Python.  Once
this was removed from LD_LIBRARY_PATH, it appears to be
successful.  Sorry.
History
Date User Action Args
2022-04-11 14:56:09adminsetgithub: 41491
2005-01-26 16:24:44liturgistcreate