Re: [aclug-L] problems compiling C++ programs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
When you are using a libc6 (glibc2) -based system, you have to be
careful about which C++ compiler is used. I believe RedHat 5.1 has
EGCS as g++, you might want to install and try that. Debian 2.0 will
give you egcs as g++ as well, or you can use the older g++272. The
current g++ from FSF is not compatible with libc6 on Linux.
John
Jesse Kaufman <kaufmjes@xxxxxxxxxxxxxxxxx> writes:
> I'm having problems compiling C++ programs that i write... it gave me
> the following errors when i typed "g++ prog1.C"
>
> /usr/bin/ld: warning: libm.so.6, needed by /usr/lib/libstdc++.so, may
> conflict with lib.so.5
> /usr/bin/ld: warning: libm.so.6, needed by /usr/lib/libstdc++.so, may
> conflict with lib.so.5
>
> 1.) what does this mean?
> 2.) how can i remedy this?
>
> the only major changes i've made since installation was upgrading to
> libc-5.4.46 through a .tar.gz file instead of an rpm, because the rpm
> said i needed ld.so-1.9.9 something, and when i tried to install the
> updated ld.so rpm, it gave me errors saying that it conflicts w/
> existing files... i have very little understanding of this stuff, so
> please be patient, and explain in english what i've done/need to do.
>
> thank you,
> jesse
> ---
> This is the Air Capitol Linux Users Group discussion list. If you
> want to unsubscribe, send the word "unsubscribe" to
> aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
> message to aclug-L@xxxxxxxxxxxx.
>
--
John Goerzen Linux, Unix consulting & programming jgoerzen@xxxxxxxxxxxx |
Developer, Debian GNU/Linux (Free powerful OS upgrade) www.debian.org |
----------------------------------------------------------------------------+
Visit the Air Capital Linux Users Group on the web at http://www.aclug.org
---
This is the Air Capitol Linux Users Group discussion list. If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx. If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.
|
|