MAndrake 10 library problem : error while loading shared libraries
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Mandrake 10 library problem : error while loading shared libraries
Hi all!
I was trying to install a package to make it available to install programs here which requires gcc and c++ compilers, I have selected the packages to install them at the package manager for mandrake 10, the program told me that it have to remove some package to install a newer one or somthing like that and when I confirmed that it just asked me for CD4 of mandrake , of cource I don't have it so that I clicked (cancel)
now nothing seems to be working at the system by double click like it was before, and when I went to the konsole and tried to run the real player from there it showed me the following message:
[falojah@localhost RealPlayer]$ realplay
/usr/local/RealPlayer/realplay.bin: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory
[falojah@localhost RealPlayer]$
Or maybe start by going into the mandrake control centre (configure my computer), then to the software manager, then to the sources facility and delete all the CD related ones.
then go to easy urpmi and follow the instructions for the nearest geographical mirror and sources for main, contrib, updates, plf (free and non free) and jpackage. You just have to open a terminal/konsole and su to root, then just copy and paste the output from easyurpmi into the terminal.
Once it's finished "doing it's thing", then back into the MCC>software manager>updates, run all the updates and you should then (probably) find the software that you want to install in the "rpmdrake+" facility.
Or maybe start by going into the mandrake control center (configure my computer), then to the software manager, then to the sources facility and delete all the CD related ones.
This was the first thing I did, but I told you nothing is working now, when I try to run any program it displays at the task bar a small window says "starting (software name) " then it just goes without opening any new window!
Can you log in as root ?? Stuff like that, should be accessible as user as well as root, but I can only think that this is a "permissions" problem.
If you can't get into a graphic window as root, I can't really help. I know it can be done from command line, but my CLI knowledge is rather thin on the ground.
I was browsing the forum for some info about my problem, I found sombody who put that line at the ( how do you install downloaded firefox browser?):
Code:
rpm -ivh download_file.rpm
I tried to use it to reinstall real player, the output was as following :
[falojah@localhost Downloads]$ rpm -ivh RealPlayer10GOLD2.rpm
error: cannot open lock file ///var/lib/rpm/RPMLOCK in exclusive mode
error: cannot open Packages database in /var/lib/rpm
[falojah@localhost Downloads]$
what caan I do to solve this, I have no way to login as root from graphical interface so no program is working as I told you except opera browser ! even totem media player doesn't work
However I had used the google many times to find a solution in addetion to this article, but nothing could solve my problem, looking like I have to format and reinstall the linux again, thanks to you all.
one of the things that used to annoy me about mandrake/mandriva, is that they won't allow root graphical logins as a default.
from memory, once you can get into the graphical system as a user, you need to open the kde control centre (configure my desktop - i think), then under the system administration dropdown, you should find "login manager". Once there, theres the "users" tab, at the bottom, there is an "administrator mode" button click that, input the root password and then remove the check in the box that says about which are "hidden users". Apply and close.
If my memory is correct, next time you log out and back in, you should see the option for either root or users graphic login.
I understand that they do it like that as a "security measure". Personally, I prefer to use graphical root, because I can't remember all the commands that I'd need to do it with CLI.
I believe that it is better, if you can do, too just use CLI input for root operations, but I've never got into the habit of noting down the commands or what they do etc.
maybe that helps a little for later.
regards
John
p.s. Oh and yes, when I was in the "major learning mode" (when I first started with linux) I often found that it was easier to just re-install the distro, than to go digging around the forums/net for problem solving/work arounds - then just run the install again, but with slightly differing selections of software packages etc. It may work for you as well, until you manage to get the OS installed to your satisfaction, then you can re-start the learning - It just depends on how you prefer to learn.
Dear john
my problem isn't to be a root, I have logged in as a root and nothing could be solved. I am re-installing but this time I am armed with the mandrake CD4 which I needed to avoid the current problem, before the problem I couldn't install, make or ./configure any software which I download due to the lack of gcc/g++, what happened was exactly as the following: I tried to install the gcc library from the package manager, it noticed me that removing the glib package is required to install the updated version, once I approved it just asked me for CD4, which I did not have. I just cancelled then the problem started....
right now I am downloading CD4 after I found it using GIYF
You are right, reinstalling is easier, but I won't go to it directly because I wanna learn, I have installed linux several times before and every time I went back to windows because I couldn't deal with this , this time I insest that there is no go back to windows, it is the "major learning mode" then, I hope to get through it!
one last note, I see that every body asking me to use google, what I am saying is that google led me to here!
I've been using the download version since 9.1 and I've run into the
missing CD4 problem on more than one version. It seems the ISOs are
prepared for the boxed set (where there are at least four) but only three
are ever uploaded to the mirrors. However, all of the programs on CD4 should be
available in the "main" section on the mirrors and can be downloaded and
installed easily with urpmi when you have your sources set - http://easyurpmi.zarb.org/ will guide you through that.
Mandriva LE 2005 does not suffer from this problem, presumably because it was not packaged for a boxed set (hence Limited Edition). I hope Mandriva 2006 download edition will be packaged properly as a download edition and not mark a return to the missing CD4 problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.