LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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

Reply
 
Search this Thread
Old 09-20-2005, 03:48 PM   #1
falojah
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Rep: Reputation: 0
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]$


What can I do ???

Regards

Last edited by falojah; 09-21-2005 at 02:42 PM.
 
Old 09-20-2005, 04:23 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Code:
# locate libgobject-2.0.so.0
# find / -name libgobject-2.0.so.0
Or reinstall the file. Use whatever equivalent of apt-file (which maps filenames into package names) mandrake has.

If find/locate finds the file, it may just be that your LD_LIBRARY_PATH (iirc) has the wrong value.

hth --Jonas
 
Old 09-20-2005, 07:24 PM   #3
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
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.
 
Old 09-21-2005, 01:32 AM   #4
falojah
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
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!

Quote:
code: # locate libgobject-2.0.so.0 # find / -name libgobject-2.0.so.0
the first command did nothing
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
find: /etc/skel/tmp: Permission denied
find: /etc/default: Permission denied
find: /home/home/tmp: Permission denied
find: /home/home/.kde/share/config/kresources: Permission denied
find: /home/home/.kde/share/servicetypes: Permission denied
find: /home/home/.kde/share/mimelnk: Permission denied
find: /home/home/.kde/share/services: Permission denied
find: /home/home/.kde/share/applnk-mdk: Permission denied
find: /home/home/.kde/share/apps: Permission denied
find: /home/home/.kde/share/locale: Permission denied
find: /home/home/.kde/Autostart: Permission denied
find: /home/home/Desktop: Permission denied
find: /home/home/.opera: Permission denied
find: /home/home/.lgames: Permission denied
find: /home/home/.Mail: Permission denied
find: /home/home/.thumbnails: Permission denied
find: /tmp/ksocket-home: Permission denied
find: /tmp/kde-home: Permission denied
find: /var/tmp/kdecache-root: Permission denied
find: /var/tmp/kdecache-home: Permission denied
find: /var/lib/xdm: Permission denied
find: /var/lib/nfs/statd: Permission denied
find: /var/lib/nfs/sm: Permission denied
find: /var/lib/nfs/sm.bak: Permission denied
find: /var/lib/slocate: Permission denied
find: /var/lib/pgsql: Permission denied
find: /var/lib/mailman/archives/private: Permission denied
find: /var/run/sudo: Permission denied
find: /var/cache/httpd: Permission denied
find: /var/spool/cron: Permission denied
find: /var/spool/postfix/active: Permission denied
find: /var/spool/postfix/bounce: Permission denied
find: /var/spool/postfix/corrupt: Permission denied
find: /var/spool/postfix/defer: Permission denied
find: /var/spool/postfix/deferred: Permission denied
find: /var/spool/postfix/flush: Permission denied
find: /var/spool/postfix/hold: Permission denied
find: /var/spool/postfix/incoming: Permission denied
find: /var/spool/postfix/maildrop: Permission denied
find: /var/spool/postfix/private: Permission denied
find: /var/spool/postfix/public: Permission denied
find: /var/spool/postfix/trace: Permission denied
find: /var/spool/at: Permission denied
find: /var/apache-mm: Permission denied
find: /root: Permission denied
find: /proc/tty/driver: Permission denied
find: /proc/1/task/1/fd: Permission denied
find: /proc/2/task/2/fd: Permission denied
find: /proc/3/task/3/fd: Permission denied
find: /proc/4/task/4/fd: Permission denied
find: /proc/5/task/5/fd: Permission denied
find: /proc/6/task/6/fd: Permission denied
find: /proc/7/task/7/fd: Permission denied
find: /proc/8/task/8/fd: Permission denied
find: /proc/9/task/9/fd: Permission denied
find: /proc/10/task/10/fd: Permission denied
find: /proc/11/task/11/fd: Permission denied
find: /proc/12/task/12/fd: Permission denied
find: /proc/13/task/13/fd: Permission denied
find: /proc/14/task/14/fd: Permission denied
find: /proc/15/task/15/fd: Permission denied
find: /proc/17/task/17/fd: Permission denied
find: /proc/25/task/25/fd: Permission denied
find: /proc/187/task/187/fd: Permission denied
find: /proc/277/task/277/fd: Permission denied
find: /proc/1324/task/1324/fd: Permission denied
find: /proc/1342/task/1342/fd: Permission denied
find: /proc/1343/task/1343/fd: Permission denied
find: /proc/1392/task/1392/fd: Permission denied
find: /proc/1406/task/1406/fd: Permission denied
find: /proc/1414/task/1414/fd: Permission denied
find: /proc/1453/task/1453/fd: Permission denied
find: /proc/1827/task/1827/fd: Permission denied
find: /proc/1891/task/1891/fd: Permission denied
find: /proc/1907/task/1907/fd: Permission denied
find: /proc/1915/task/1915/fd: Permission denied
find: /proc/1929/task/1929/fd: Permission denied
find: /proc/1945/task/1945/fd: Permission denied
find: /proc/1947/task/1947/fd: Permission denied
find: /proc/1970/task/1970/fd: Permission denied
find: /proc/2001/task/2001/fd: Permission denied
find: /proc/2002/task/2002/fd: Permission denied
find: /proc/2003/task/2003/fd: Permission denied
find: /proc/2004/task/2004/fd: Permission denied
find: /proc/2005/task/2005/fd: Permission denied
find: /proc/2006/task/2006/fd: Permission denied
find: /proc/2007/task/2007/fd: Permission denied
find: /proc/2008/task/2008/fd: Permission denied
find: /proc/2009/task/2009/fd: Permission denied
find: /proc/2010/task/2010/fd: Permission denied
find: /proc/2021/task/2021/fd: Permission denied
find: /proc/2161/task/2161/fd: Permission denied
find: /proc/2171/task/2171/fd: Permission denied
find: /proc/2172/task/2172/fd: Permission denied
find: /proc/2173/task/2173/fd: Permission denied
find: /proc/2207/task/2207/fd: Permission denied
find: /proc/2222/task/2222/fd: Permission denied
find: /proc/2243/task/2243/fd: Permission denied
find: /proc/2253/task/2253/fd: Permission denied
find: /proc/2426/task/2426/fd: Permission denied
find: /proc/2433/task/2433/fd: Permission denied
find: /proc/2434/task/2434/fd: Permission denied
find: /proc/2435/task/2435/fd: Permission denied
find: /proc/2436/task/2436/fd: Permission denied
find: /proc/2437/task/2437/fd: Permission denied
find: /proc/2438/task/2438/fd: Permission denied
find: /proc/2567/task/2567/fd: Permission denied
find: /proc/2568/task/2568/fd: Permission denied
find: /proc/2569/task/2569/fd: Permission denied
find: /proc/2570/task/2570/fd: Permission denied
find: /proc/2571/task/2571/fd: Permission denied
find: /proc/2572/task/2572/fd: Permission denied
find: /proc/2769/task/2769/fd: Permission denied
find: /proc/2856/task/2856/fd: Permission denied
find: /proc/2859/task/2859/fd: Permission denied
find: /proc/2861/task/2861/fd: Permission denied
find: /proc/2864/task/2864/fd: Permission denied
find: /proc/2865/task/2865/fd: Permission denied
find: /proc/2875/task/2875/fd: Permission denied
find: /proc/2877/task/2877/fd: Permission denied
find: /proc/2879/task/2879/fd: Permission denied
find: /proc/2882/task/2882/fd: Permission denied
find: /proc/2885/task/2885/fd: Permission denied
find: /proc/2887/task/2887/fd: Permission denied
find: /proc/2893/task/2893/fd: Permission denied
find: /proc/2896/task/2896/fd: Permission denied
find: /proc/2897/task/2897/fd: Permission denied
find: /proc/2898/task/2898/fd: Permission denied
find: /proc/2900/task/2900/fd: Permission denied
find: /proc/2994/task/2994/fd: Permission denied
find: /proc/2998/task/2998/fd: Permission denied
find: /proc/3012/task/3012/fd: Permission denied
find: /proc/3013/task/3013/fd: Permission denied
find: /proc/3014/task/3014/fd: Permission denied
find: /proc/3307/task/3307/fd: Permission denied
find: /proc/3328/task/3328/fd: Permission denied
find: /proc/3341/task/3341/fd: Permission denied
find: /proc/3365/task/3365/fd: Permission denied
find: /proc/3366/task/3366/fd: Permission denied
/usr/lib/libgobject-2.0.so.0
find: /.mozilla: Permission denied
[falojah@localhost RealPlayer]$

Thank you for helping new users to linux (I have left windows just a few days ago!)

Last edited by falojah; 09-21-2005 at 01:33 AM.
 
Old 09-21-2005, 06:29 AM   #5
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
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
 
Old 09-21-2005, 06:36 AM   #6
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
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).
 
Old 09-21-2005, 06:47 AM   #7
falojah
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
first of all thanks to every body who tried to help

Quote:
try adding /usr/lib to your LD_LIBRARY_PATH (GIYF).
how can I do it ?

regards
 
Old 09-21-2005, 07:00 AM   #8
falojah
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
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
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

regards
 
Old 09-21-2005, 10:41 AM   #9
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Code:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/bin
put it in your .bashrc; GIYF = Google Is Your Friend.

I think you need to be root to install packages (you do on debian).

hth --Jonas
 
Old 09-21-2005, 02:40 PM   #10
falojah
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
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.
 
Old 09-21-2005, 11:33 PM   #11
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK - South Coast.
Distribution: Ubuntu (usually the latest....)
Posts: 2,672
Blog Entries: 9

Rep: Reputation: 45
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.
 
Old 09-22-2005, 04:14 AM   #12
falojah
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
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!


Best Regards
 
Old 09-22-2005, 06:09 AM   #13
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
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.
 
Old 09-22-2005, 06:18 AM   #14
falojah
LQ Newbie
 
Registered: Sep 2005
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
but only three are ever uploaded to the mirrors
well, I found one with the fourth CD

thanks for reply
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Urgent !!! rpm: error while loading shared libraries: libelf.so.1: cannot open shared tinaa Linux - Software 5 12-02-2008 03:19 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
mplayer: error while loading shared libraries: libdvdread.so.3: cannot open shared ob Bruce Hill Slackware 6 12-11-2003 08:34 AM
XPde 0.4.0 problem, error while loading shared libraries: bplXPCommctrls.so: cannot o arunshivanandan Linux - Software 3 10-06-2003 06:56 PM


All times are GMT -5. The time now is 11:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration