LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
LinkBack Search this Thread
Old 03-23-2009, 01:29 PM   #1
shiv_379
LQ Newbie
 
Registered: Aug 2006
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 0
"error while loading shared libraries: libstdc++.so.5"


Hi all,
Trying to install Sunbird for Thunderbird I get the message "error while loading shared libraries: libstdc++.so.5".
I know there's a libstdc++5 package available, however last time I got a message like this and I tried to just download the right package it broke synaptic and apt-get among other things and I ended up having to reinstall the system (couldn't find a solution to the problem anywhere!).

Should it be ok to install the libstdc++5 package via synaptic, or is there another solution? I've heard people talking about creating a symbolic link which actually points at the so.6 file, but to be honest I don't know how to do this or if it would work!

~Shiv
 
Old 03-23-2009, 01:48 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,192

Rep: Reputation: 120Reputation: 120
I've never had a problem installing anything under synaptic. Did you get it from somewhere else and install it by some other method? This is a pretty standard package to have to add for Mozilla stuff.

Also, could you update your profile to show your distro? Otherwise, please state your distro when you have problems.
 
Old 03-23-2009, 03:33 PM   #3
Sparky22
LQ Newbie
 
Registered: Mar 2009
Location: Allentown, PA
Distribution: Debian
Posts: 5

Rep: Reputation: 0
I had a problem today also. I was running the automatic updates as prompted in gnome.

The updates are for:
libglib2.0-0
libmozjsld
libpng12-0
libpurble0
linux-headers-2.6.26-1-686
linux-headers-2.6.26.1-common
linux-image-2.6.26-1-686
lunux-libc-dev
pidgin
pigin-data
xulrunner-1.9
xulrunner-1.9-gnome-support

It will not complete the install due to:
E: ERROR: could not create configuration directory /home/root/.synaptic-mkdir (2 No such file or directory).

Now when I try to open a root terminal it will not open and I get the same message when trying to open synaptic.

Any suggetions.
 
Old 03-23-2009, 04:31 PM   #4
JaksoDebr
Member
 
Registered: Mar 2009
Distribution: Fedora, Slackware
Posts: 104

Rep: Reputation: 21
Usually (by pure logic)
# apt-get install libstdc++5
hould be enough.

I might be wrong, but isn't libstdc++.so.5 an older release? In that case you should go for compatlibs. That way you can keep your current stdlibc, and also use the older ones for applications that depend on it.

Linux Archive

Last edited by JaksoDebr; 04-02-2009 at 04:59 AM.
 
Old 03-23-2009, 04:32 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,192

Rep: Reputation: 120Reputation: 120
Quote:
Originally Posted by JaksoDebr View Post
In that case you should go for compatlibs. That way you can keep your current stdlibc, and also use the older ones for applications that depend on it.
There's nothing that prevents you from having multiple versions of libstdc.
 
Old 03-24-2009, 09:00 PM   #6
Sparky22
LQ Newbie
 
Registered: Mar 2009
Location: Allentown, PA
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Updates install

After rebooting a 2nd time all went back to normal.

These are updates that Gnome updater are alerting me to but come with a warning that the updates can not be authenticated.

Don't these updates come straight from the Debian repository?
 
Old 03-30-2009, 02:30 PM   #7
minnymouse
Member
 
Registered: Jan 2008
Location: United Kingdom
Distribution: none
Posts: 34

Rep: Reputation: 15
Quote:
Originally Posted by Sparky22 View Post
I had a problem today also. I was running the automatic updates as prompted in gnome.

The updates are for:
libglib2.0-0
libmozjsld
libpng12-0
libpurble0
linux-headers-2.6.26-1-686
linux-headers-2.6.26.1-common
linux-image-2.6.26-1-686
lunux-libc-dev
pidgin
pigin-data
xulrunner-1.9
xulrunner-1.9-gnome-support

It will not complete the install due to:
E: ERROR: could not create configuration directory /home/root/.synaptic-mkdir (2 No such file or directory).

Now when I try to open a root terminal it will not open and I get the same message when trying to open synaptic.

Any suggetions.

This should cure the prob.

Go to System>Administration>Users and Groups.

Click on the 'root' user and click properties to the right-hand side of the dialog box. Choose the Advanced tab and change /home/root in 'Home Directory' to /root. If it is /root, delete only the word root

IMPORTANT: Every time Users and Groups is accessed even if no changes are made, it will be necessary to repeat the above exercise otherwise the same Synaptic error will reappear.

Last edited by minnymouse; 03-30-2009 at 06:06 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reboot Error: "initlog: error while loading shared libraries: libpopt.so.0" saranga2000 Linux - Enterprise 4 04-26-2013 06:50 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
Did something get installed wrong? "error while loading shared libraries" Romanus81 Slackware 4 03-28-2008 11:11 PM
Linux boot hang : "init: error loading shared libraries" colinprice72 Linux - General 0 01-16-2004 09:04 AM
"Error while loading shared libraries" - different solutions? stodge Programming 3 05-11-2003 02:19 AM


All times are GMT -5. The time now is 01:22 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