TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:7092] gcc problems...
> I've got a small problem while trying to compile ssh the other day
> I encountered this message while trying to run gcc:
>
> loading cache ./config.cache
> checking host system type... i586-unknown-linux
> checking cached information... ok
> checking for gcc... gcc
> checking whether the C compiler (gcc ) works... no
> configure: error: installation or configuration problem: C compiler cannot create executables.
>
> any ideas on how to fix gcc?
I once had a problem where my libraries weren't set up quite right. I had
upgraded the 'glibc' library, but forgot to upgrade the 'glibc-devel' (which
contains all of the C header files. Any programs I made would immediately
segfault. It was really strange, because they would basically segfault when
initially loading the libraries -- before the program actually started running.
On my RedHat 6.0 system, these are the packages that come up when I run 'rpm
-qa|grep glibc':
glibc-profile-2.1.1-6
glibc-2.1.1-6
compat-glibc-5.2-2.0.7.1
glibc-devel-2.1.1-6
--
_ _ _ _ _ ___ _ _ _ ___ _ _ __ Linux: Do you want to
/ \/ \(_)| ' // ._\ / - \(_)/ ./| ' /(__ delete Windows today?
\_||_/|_||_|_\\___/ \_-_/|_|\__\|_|_\ __)
[ Mike Hicks | http://umn.edu/~hick0088 | mailto:hick0088@tc.umn.edu ]