This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems Installing 3.0.4


Hi,

I ran into some problems upgrading gcc 2.96 to gcc 3.0.4 and now certain
programs (e.g., man, groff) on my machine (Red Hat 7.0 on a PIII) are
broken.  I am looking for help on resolving these issues.

Here's  what  I  did:   found  a  concise  collection  of rpms for 3.0.4 at
http://www.trilithium.com/software/misc/.   Installed them in the following
way with the indicated results:

Installed the following using rpm -Uvh without difficulty:
-  libgcc-3.0.4-1.i686.rpm (Shared GCC library)
-  gcc-c++-3.0.4-1.i686.rpm (C++ support)
-  gcc-g77-3.0.4-1.i686.rpm (Fortran support)
-  gcc-objc-3.0.4-1.i686.rpm (Objective C support)
-  libgcj-3.0.4-1.i686.rpm (Java class libraries)
-  binutils-2.11.2-1.i386.rpm (Binary Utilities)
-  binutils-static-2.11.2-1.i386.rpm (Binary Utilities - static)

After the above were installed, the following had to be installed using the
RPM --nodeps option (installed in the order listed)
-   libstdc++-3.0.4-1.i686.rpm  (Standard  C++  library):  without --nodeps
   error  was  that  libstdc++-libc6.2-2.so.3  was needed; however, I found
   this   file   already   on  the  system  and  I  ran   rpm  -ivh  -force
   libstdc++-2.96-54.i386.rpm which provides this file to be sure.)
-   cpp-3.0.4-1.i686.rpm  (C preprocessor):  without --nodeps error message
   was  cpp = 2.96 is needed by gcc-2.96-54 which didn't make any sense [to
   me] as  gcc 2.96 was already installed)

After the above two packages were installed, I was able to install the
following WITHOUT using the --nodeps option
-  gcc-3.0.4-1.i686.rpm  (GCC)
-  libstdc++-devel-3.0.4-1.i686.rpm (Standard C++ library development
   files)
-  gcc-java-3.0.4-1.i686.rpm (Java support)
-  libgcj-devel-3.0.4-1.i686.rpm (Java Class Libraries development files)

Now, here's what happens when I run man groff:
Formatting page, please wait...
/usr/bin/groff:      error      while     loading     shared     libraries:
libstdc++-libc6.2-2.so.3:  cannot  load shared object file: No such file or
directory
/usr/bin/gtbl:      error      while      loading     shared     libraries:
libstdc++-libc6.2-2.so.3:  cannot  load shared object file: No such file or
directory

Any help would be greatly appreciated.

Mark

----------------------------
Mark A. Pauley, Ph.D.
Senior Research Fellow
Instructor, Department of Computer Science
College of Information Science & Technology, UNO
Omaha, NE 68182-0116
e-mail:  mark@pauley.com
phone:  (402) 554-4954  fax:  (402) 554-3284


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]