LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-28-2015, 01:58 AM   #1
haind
LQ Newbie
 
Registered: Apr 2015
Location: Ha Noi, Viet Nam
Distribution: Slackware 14.1
Posts: 15

Rep: Reputation: Disabled
Unhappy Can not open Firefox after update


Hi!

After updaten firefox 38.0.1. I can not open firefox anymore. When I type: "firefox" in terminal. It shows:

Code:
XPCOMGlueLoad error for file /usr/lib64/firefox-38.0.1/libxul.so:
/usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.20' not found (required by /usr/lib64/firefox-38.0.1/libxul.so)
Couldn't load XPCOM.
If anyone know the issue, please let's me know. Thanks

Last edited by haind; 05-28-2015 at 06:39 AM. Reason: solved problem
 
Old 05-28-2015, 02:21 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Error means a certain minimum version of C++ standard library is not available. So you need to upgrade gcc package which provides new libstdc++.
 
Old 05-28-2015, 02:41 AM   #3
haind
LQ Newbie
 
Registered: Apr 2015
Location: Ha Noi, Viet Nam
Distribution: Slackware 14.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
I use
Code:
slackpkg upgrade libstd
Unforunately, It does't find anything.
 
Old 05-28-2015, 03:36 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
hi haind, I suppose you have slackware64-14.1 and tried to upgrade mozilla-firefox using the package in -current: you can't do that, as it is built against current libraries that are different from the one of the stable version.
and upgrading glibc/gcc packages moving from the ones provided by your slackware version is not safe at all if you don't know what your doing as you may easily end up breaking your install completely.

if you want to install a newer firefox beside what is provided by your slackware version the best option for you is to use latest-firefox script by ruario.

Last edited by ponce; 05-28-2015 at 03:48 AM.
 
Old 05-28-2015, 03:38 AM   #5
gengisdave
Member
 
Registered: Dec 2013
Location: Turin, Italy
Distribution: slackware
Posts: 328

Rep: Reputation: 74
The packages to update are named gcc-*; are you using -current? Firefox 38 dependencies are only met in -current.
 
1 members found this post helpful.
Old 05-28-2015, 05:40 AM   #6
haind
LQ Newbie
 
Registered: Apr 2015
Location: Ha Noi, Viet Nam
Distribution: Slackware 14.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
thank you for reply ponce. I'm new. So how can I use the script from ruario?
 
Old 05-28-2015, 05:44 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
open a terminal, become root with
Code:
su -
then, from that root shell
Code:
wget https://gist.githubusercontent.com/ruario/9672798/raw/7f2ccc2f69bf36fa09d642e3728dae804cbe6b06/latest-firefox
sh latest-firefox --install
 
1 members found this post helpful.
Old 05-28-2015, 05:45 AM   #8
haind
LQ Newbie
 
Registered: Apr 2015
Location: Ha Noi, Viet Nam
Distribution: Slackware 14.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
Hi gengisdave. I'm using slackware 14.1. It's current.
 
Old 05-28-2015, 05:48 AM   #9
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
Quote:
Originally Posted by haind View Post
Hi gengisdave. I'm using slackware 14.1. It's current.
I think there's a little confusion here:
- slackware 14.1 is the latest stable version (you should definitely use this if you don't know what you're doing);
- slackware current is the testing/development version (not recommended for general use).
they are not the same thing.

Last edited by ponce; 05-28-2015 at 05:51 AM.
 
1 members found this post helpful.
Old 05-28-2015, 06:37 AM   #10
haind
LQ Newbie
 
Registered: Apr 2015
Location: Ha Noi, Viet Nam
Distribution: Slackware 14.1
Posts: 15

Original Poster
Rep: Reputation: Disabled
When I do like you said. It shows me that existing firefox 38.0.1 installed. So I remove firefox and rerun your script. It worked. Thank you so much, ponce
 
  


Reply

Tags
slackware 14.1



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
All Firefox extensions gone after update to Firefox 20.0 Slackovado Slackware 24 04-27-2013 05:44 PM
Firefox wont open in Mandriva after running update dolphans1 Mandriva 7 09-25-2009 06:10 PM
Can't minimize open windows. They disappear. the firefox 3.0 title bar shows 9 open rangerpresto Linux - Desktop 5 08-10-2008 01:30 PM
LXer: Firefox 2.0.0.3 and Firefox 1.5.0.11 Security and Stability Update LXer Syndicated Linux News 0 03-21-2007 12:01 PM
LXer: Firefox 2.0.0.2 and Firefox 1.5.0.10 Security and Stability Update LXer Syndicated Linux News 0 02-24-2007 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:33 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
Open Source Consulting | Domain Registration