LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 06-11-2010, 11:42 PM   #1
mejohnsn
Member
 
Registered: Sep 2009
Posts: 172

Rep: Reputation: Disabled
Upgrading from F11 to F12 Breaks Google Chrome?


After upgrading from F11 to F12 online, most things work. But whenever I try to launch Google Chrome from Applications>Internet>Chrome, it silently fails.

This worked before the upgrade. Any ideas on how to debug this? Is it a known problem? I could not find anything either here or in the Fedora Wiki
 
Old 06-12-2010, 02:37 AM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
Have you tried running it from a command line ?
Or even re-installing it ?
 
0 members found this post helpful.
Old 06-12-2010, 03:10 AM   #3
mejohnsn
Member
 
Registered: Sep 2009
Posts: 172

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smoker View Post
Have you tried running it from a command line ?
Or even re-installing it ?
Re-installing it would be a very unattractive option, since that would mean losing all the bookmarks and other customizations I have added.

As for running from the command line, yes, I have done that, and it is suggestive rather than informative: it suggests that Google Chrome is looking for a shared library no longer supported in Fedora. For the message is:
"bin/google-chrome: error while loading shared libraries: libnss3.so.1d: cannot open shared object file: No such file or directory"

But perhaps you will find the suggestion more definite than I do: was this library really deleted? Do I have to uninstall and then re-install Chrome, or will just updating the Chrome package be enough?

It appears not, since "yum update google-chrome-stable" did no update, printing instead, "Package(s) google-chrome-stable available, but not installed.
No Packages marked for Update"

Substituging 'upgrade' for 'update' fails in the same way.

Finally, yes I did Google to find posts about similar failures, but everything I found was too old to be accurate for my situation: the most recent was June 2009.

Then again, the June 2009 thread had a final post much more recently dated, suggesting that the workaround is to set up the following links:

ln -s /usr/lib/libnss3.so /lib/libnss3.so.1d
ln -s /usr/lib/libnssutil3.so /lib/libnssutil3.so.1d
ln -s /usr/lib/libsmime3.so /lib/libsmime3.so.1d
ln -s /usr/lib/libplds4.so /lib/libplds4.so.0d
ln -s /usr/lib/libplc4.so /lib/libplc4.so.0d
ln -s /usr/lib/libnspr4.so /lib/libnspr4.so.0d
ln -s /usr/lib/libbz2.so /lib/libbz2.so.1.0
(from http://code.google.com/p/chromium/is...etail?id=12562 comment #17).

Should I go ahead and try this?
 
Old 06-12-2010, 03:24 AM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,485

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
upgrades in fedora very often do not work . in the past 5 years i have never had one work correctly

the bookmarks should be in a .google??? something folder in your home folder

Quote:
bin/google-chrome: error while loading shared libraries: libnss3.so.1d: cannot open shared object file: No such file or directory"
that says it all there is no lib called libnss3.so.1d
is there a /usr/lib/libnss3.so file ? if so a link might fix it ???
i have a /usr/lib/libnss3.so in my up to date Arch
fedora 12 is 6 months old
 
0 members found this post helpful.
Old 06-12-2010, 04:06 AM   #5
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
Quote:
Originally Posted by John VV View Post
upgrades in fedora very often do not work . in the past 5 years i have never had one work correctly

fedora 12 is 6 months old
On the other hand, I have never had one fail.

If you have a problem with fedora, fair enough, but you seem to be pushing an anti fedora agenda on every post you make recently.
Fedora 12 will be supported until after the release of F14, which is to say, until around december 2010.

As for the OP, why would a reinstall of Chrome mean losing all your bookmarks and customisations ? This isn't windows where a whole ecosystem is wiped out if you uninstall something. All your stuff is saved to a folder / file in your home directory. A reinstall will pick those up when it runs.

And your yum experience is showing that chrome is not installed. Did you try installing it ? You don't have to uninstall it, because yum doesn't think it's installed anyway, and will fail.
 
0 members found this post helpful.
Old 06-12-2010, 04:59 AM   #6
mejohnsn
Member
 
Registered: Sep 2009
Posts: 172

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smoker View Post
On the other hand, I have never had one fail.

If you have a problem with fedora, fair enough, but you seem to be pushing an anti fedora agenda on every post you make recently.
Fedora 12 will be supported until after the release of F14, which is to say, until around december 2010.

As for the OP, why would a reinstall of Chrome mean losing all your bookmarks and customisations ? This isn't windows where a whole ecosystem is wiped out if you uninstall something. All your stuff is saved to a folder / file in your home directory. A reinstall will pick those up when it runs.

And your yum experience is showing that chrome is not installed. Did you try installing it ? You don't have to uninstall it, because yum doesn't think it's installed anyway, and will fail.
Your conclusion about "the yum experience" is simply WRONG. It IS installed, as it has been for many months before the upgrade. You should have been able to figure this out from my previous post, which showed the binary executing from the right place.
 
Old 06-12-2010, 05:14 AM   #7
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
Quote:
It appears not, since "yum update google-chrome-stable" did no update, printing instead, "Package(s) google-chrome-stable available, but not installed.
No Packages marked for Update"

Substituging 'upgrade' for 'update' fails in the same way.
What does that tell you ?

As far as yum is concerned it is not installed. This happens sometimes after upgrading the OS. links get broken, libraries are not replaced, etc, etc.

So I am completely wrong, but you still don't have chrome working. Carry on then.

Or follow my suggestion. It's up to you.
 
0 members found this post helpful.
Old 06-13-2010, 11:38 PM   #8
mejohnsn
Member
 
Registered: Sep 2009
Posts: 172

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smoker View Post
What does that tell you ?

As far as yum is concerned it is not installed. This happens sometimes after upgrading the OS. links get broken, libraries are not replaced, etc, etc.

So I am completely wrong, but you still don't have chrome working. Carry on then.

Or follow my suggestion. It's up to you.
I did not follow your suggestions. Not any of them. And I DO have Chrome working now. So for your own good, and for the good of the forum, admit your errors.

How did I get it working? By executing the command-line invocation of google-chrome over and over, creating/redirecting the soft-links in Chrome's installation directory pointing them to the real libraries which now all live in /usr/lib/.

I didn't keep a complete list of the commands, but for the benefit of anyone else who runs into the same problem and looks up this thread, a couple typical such commands were (while logged in as superuser):

778 ln -s --force /usr/lib/libnss3.so libnss3.so.1d
786 ln -s --force /usr/lib/libmime3.so libmime3.so.1d

I do not pretend this is the ideal solution, I suspect it will break the next time I update either Chrome or Fedora, but now I am up and running, and with all my original configuration intact, though I had to turn the bookmark bar back on myself also.
 
Old 06-14-2010, 12:09 AM   #9
John VV
Guru
 
Registered: Aug 2005
Posts: 13,485

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
Quote:

ln -s --force /usr/lib/libnss3.so libnss3.so.1d
ln -s --force /usr/lib/libmime3.so libmime3.so.1d
this works most of time if it is only one version newer , but not always.

fedora 12 hits it's End of life in 6 months.
 
1 members found this post helpful.
Old 06-14-2010, 12:14 AM   #10
mejohnsn
Member
 
Registered: Sep 2009
Posts: 172

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
upgrades in fedora very often do not work . in the past 5 years i have never had one work correctly

the bookmarks should be in a .google??? something folder in your home folder


that says it all there is no lib called libnss3.so.1d
is there a /usr/lib/libnss3.so file ? if so a link might fix it ???
i have a /usr/lib/libnss3.so in my up to date Arch
fedora 12 is 6 months old
Some of us realize wrong answers are worse than no answer. Yours is wrong, too: there IS a library with that name -- as there has been since I originally installed Chrome long ago. And there is a softlink that tried to point to it. The problem was that the link points to the wrong directory.

In fact, this looks to me like a good example of how NOT to use softlinks: the Chrome directory had several softlinks, all of them pointing to the wrong directory. I have now pointed them to the right directory, so things now work, though this fix sounds fragile to me. As I already pointed out in another post, I will not be surprised if the fix breaks the next time I try to update Chrome or Fedora. But perhaps by then the people who do Chrome (or its package) will find a better way to use softlinks.

If not, then I will go through the same thing again. It doesn't look so hard now.

Another thing you got wrong: there is no subdirectory of my home directory with a name beginning with ".google".

I once saw where google-chrome keeps its settings, but I forget now. I just know it is not where you say.
 
Old 06-14-2010, 07:18 AM   #11
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by mejohnsn View Post
Some of us realize wrong answers are worse than no answer. Yours is wrong, too: there IS a library with that name -- as there has been since I originally installed Chrome long ago. And there is a softlink that tried to point to it. The problem was that the link points to the wrong directory.
In fact, this looks to me like a good example of how NOT to use softlinks: the Chrome directory had several softlinks, all of them pointing to the wrong directory. I have now pointed them to the right directory, so things now work, though this fix sounds fragile to me. As I already pointed out in another post, I will not be surprised if the fix breaks the next time I try to update Chrome or Fedora. But perhaps by then the people who do Chrome (or its package) will find a better way to use softlinks.

If not, then I will go through the same thing again. It doesn't look so hard now.
Problem is not in physical existence of the library, it's in where your system is looking for them. I am assuming that FC13 rearranged where they will keep certain files and libraries opposed to where FC12 was keeping them. I will also assume that for that reason, upgrade procedure has moved your libraries to another location, but since Chrome has it's own generic installation procedure and uses symlinks that were not updated along with the libraries locations.

Google has to use symlink approach since they are creating one generic installer for very large number of distro's. Simple reinstallation would fix things at once.

What you do not realize is that reinstallation would have fixed your symlinks but would NOT touch your settings residing in your /home/$USER folder. That is the fact of life, and both posters trying to help you where correct suggesting reinstallation.

Quote:
Originally Posted by mejohnsn View Post
Another thing you got wrong: there is no subdirectory of my home directory with a name beginning with ".google".
I once saw where google-chrome keeps its settings, but I forget now. I just know it is not where you say.
His exact sentence was:
Quote:
the bookmarks should be in a .google??? something folder in your home folder
. He never said it IS exactly there. "/home/$USER/.googleearth" subfolder is used by Google for Google Earth, so @JohnVV made an assumption, trying to help you.
Chromium settings for user SHOULD be stored in:
Quote:
/home/$USER/.config/chromium is where your user data is kept, just like on Windows.
/home/$USER/.cache/chromium is where Chrome's cache files are kept.
You trying to be smarter then people doing this for several years was/is the wrong path, but suite your self. But take a look at the ratio of the number of people thanking them vs. number of posts and all should be clear to you.

Last edited by DrLove73; 06-14-2010 at 07:23 AM.
 
0 members found this post helpful.
Old 06-14-2010, 05:03 PM   #12
John VV
Guru
 
Registered: Aug 2005
Posts: 13,485

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
things get set in /home/$USER/.config/?? from time to time
but the .config folder is the " zebra " and a .programName is the "horse "

if you fallow the look for a horse BEFORE looking for a zebra .

when using the "pre-upgrade" ( the RECOMMENDED program ) - and not "yum upgrade"
links WILL get broken -- that is a fact of life --
some programs that use older versions of *.so s might not work with newer ones ( libpng14 is an example of this)

upgrading fedora dose NOT upgrade or update and program that was not installed using yum
if this version of chrome was NOT in the repo ( fedora 11 it was not ) it would not have been updated

i do think there is a fedora rpm of chrome in the fedora 13 repo so in 13 it should be posable to install it using yum .
 
Old 06-15-2010, 04:28 PM   #13
mejohnsn
Member
 
Registered: Sep 2009
Posts: 172

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by DrLove73 View Post
His exact sentence was:. He never said it IS exactly there. "/home/$USER/.googleearth" subfolder is used by Google for Google Earth, so @JohnVV made an assumption, trying to help you.
Chromium settings for user SHOULD be stored in:


You trying to be smarter then people doing this for several years was/is the wrong path, but suite your self. But take a look at the ratio of the number of people thanking them vs. number of posts and all should be clear to you.
And he made a bad assumption, one that rendered his post entirely unhelpful. That was my point.

And not, despite your lying characterization, pointing that out is NOT "trying to be smarter then[sic] people doing this for several years". Stop playing mind-reader: you are no good at it.

For that matter, take your own advice: take a look at that ratio: you will see that a LOT of other people chose not to thank them for their posts. They all have only about a tenth as many thanks as posts.

I can see why they were not thanked. And when they were thanked, they were probably a lot more polite than they have been in this thread.
 
Old 06-15-2010, 06:52 PM   #14
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
:-D, whatever.
 
Old 06-15-2010, 07:10 PM   #15
John VV
Guru
 
Registered: Aug 2005
Posts: 13,485

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
at this point

close the thread
 
1 members found this post helpful.
  


Reply

Tags
chrome, fedora


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
Samba problem when Upgrading from F12 to F13? Raveolution Linux - Networking 3 09-19-2010 08:13 AM
LXer: Google Chrome Automatically Installs Google Repository in Ubuntu LXer Syndicated Linux News 3 05-07-2010 12:20 PM
Google Chrome khaledaljabry Linux - Newbie 3 05-05-2010 10:20 AM
LXer: Chrome OS Concept Tablet Breaks Cover With Demo LXer Syndicated Linux News 0 02-02-2010 12:51 PM
upgrading to F11. What to save airswit Fedora 3 09-01-2009 09:03 PM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
Advertisement
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