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 :mad: , 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]$ What can I do ??? Regards |
Code:
# locate libgobject-2.0.so.0 If find/locate finds the file, it may just be that your LD_LIBRARY_PATH (iirc) has the wrong value. hth --Jonas |
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. |
Quote:
Quote:
the second one made my PC busy for a while, then it displayed the following result : Code:
[falojah@localhost RealPlayer]$ find / -name libgobject-2.0.so.0 Thank you for helping new users to linux (I have left windows just a few days ago!) |
Hum???
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. sorry regards John |
Note the hash in front of find (see my first post), that's a root prompt (in vanilla bash, at least).
try adding /usr/lib to your LD_LIBRARY_PATH (GIYF). |
first of all thanks to every body who tried to help
Quote:
regards |
addetional note
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 [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 :( :confused: :scratch: regards |
Code:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bin I think you need to be root to install packages (you do on debian). hth --Jonas |
Thanks to all anyway
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.
:newbie: :Pengy: :o |
falojah,
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 :cool: 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:Pengy: , this time I insest that there is no go back to windows, it is the "major learning mode":study: 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!:cool: Best Regards |
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. |
Quote:
thanks for reply |
All times are GMT -5. The time now is 05:38 PM. |