Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 am not a linux person. So please help! I will greatly appreciate your help! Thank you very much!
I did the following: System> Add/Remove Software, after I typed root passwaod, a "Package Manager" window appears, from "all packages", i found the following one:
libstdc++ - 4.1.1-52.el5.i386- GNU Standard C++ library
It seems that this package is already installed.
Is this package too old? Or should I do a software updte? Do I have to do the updata through RedHat.com?
And no, the package that is installed is not too old, on the contrary - which doesn't mean you should remove it; I'm sure that it is needed by other applications.
libstc++ is not new software so doing an update won't help in this case.
do you think the one " libstdc++-3.2.2-5.i386 " will be applicable for my case? I downloaded it, but i don't know how to install. I am sorry to waste you so much time.
Weird. I should be there somehow. Try this command from a terminal
su -
(root password)
yum install libstdc++.so.5
Does that return anything?
If that doesn't help, you can install that file you found. But this is not the recommended way: the package is apparently more than a year old and it may at some point start producing issues with later packages.
If you do want to install it, place it on your desktop, then from a terminal:
cd /home/username/Desktop
rpm -ivh [name of the package]
If it installs, the downloaded file can be deleted (or saved somewhere else for later use).
[root@wenwenbapc wenwenba]# yum install libstdc++.so.5
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: libstdc++.so.5
Nothing to do
[root@wenwenbapc wenwenba]#
OK, yum can't find it either - which is normal: it can only install packages listed in Add/Remove Applications. I assume that you could easily find the package if you registered with Red Hat but I don't know whether you intend to. If not, installing the package you already downloaded is the only option (other than installing a free version of Red Hat).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.