Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
I am sorry to ask so many questions these days. I am not a linux person, please help. I am using RedHat5 and trying to install some programs. However, after ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46

    c++ runtime libs are missing (or not accessible)

    I am sorry to ask so many questions these days. I am not a linux person, please help.

    I am using RedHat5 and trying to install some programs. However, after trying to start the program, i got the following error message.("cara_1.8.4_linux" is the program I want to run)


    [wen@wenpc ~/CARA]$ cara_1.8.4_linux
    cara_1.8.4_linux: error while loading shared libraries: libstdc++.so.5: cannot o pen shared object file: No such file or directory


    Does this mean the c++ runtime libs are missing or not accessible in the path? If do, how can I get it work?

    I will greatly appreciate your help! Thank you very much!

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    It seems like your program requires old libraries. To install the missing libs do
    Code:
    #yum install compat-libstdc++-33

  3. #3
    Just Joined!
    Join Date
    Jan 2006
    Location
    India
    Posts
    52

  4. #4
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46
    Thank you.
    I am using RedHat5 Enterprise. Do I have to find compat-libstdc++ for this edition?

    I found a website:

    RPM resource compat-libstdc++

    and I downloaded one which is for redhat 7.3. But it doesn't work for me.

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    So how about using yum as I suggested in my post?

  6. #6
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46
    Thank you for your time! Here is the result I got:

    [wen@wenpc ~]$ su
    Password:
    [root@wenpc wen]# yum install compat-libstdc++-33
    Loading "installonlyn" plugin
    Loading "rhnplugin" plugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Install Process
    Setting up repositories
    No Repositories Available to Set Up
    Reading repository metadata in from local files
    Parsing package install arguments
    Setting up repositories
    No Repositories Available to Set Up
    Reading repository metadata in from local files
    No Match for argument: compat-libstdc++-33
    Nothing to do
    [root@wenpc wen]#

  7. #7
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46
    I have all 5 discs for the installation. Do I have to inser the disk?

  8. #8
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Your system does not seem to be registered with Redhat Network so you won't be able to install software from the Redhat repos using yum. I suggest you look for compat-libstdc++-33 on your installation discs or download it from here and install it manually with rpm.

  9. #9
    Just Joined!
    Join Date
    Nov 2006
    Posts
    46
    I found this message:

    Impossible to install firefox-2.0.0.3.tar.gz on RedHat V 5 - Page 2 - LinuxQuestions.org

    in the last reply, it is suggested to remove firefox and then install libstdc++so.5. What do you think? But I don't know where I should download the required " libstdc++so.5.".

  10. #10
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    I already explained how to get libstdc++so.5 on Fedora or Redhat and their derivatives. All you need to do is install compat-libstdc++-33.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...