LinHES Forums
http://forums.linhes.org/

Firefox on R5E50
http://forums.linhes.org/viewtopic.php?f=14&t=13434
Page 1 of 2

Author:  Thep [ Thu Jan 11, 2007 1:26 am ]
Post subject:  Firefox on R5E50

I did a clean install of R5E50, and I am having trouble getting firefox to work. Following the Wiki instructions (http://knoppmythwiki.org/index.php?page=Firefox) I have tried the latest release of both version 2 and version 1.5 but neither work. It appears I am missing a library.
When I try to run firefox, I get an error message that says:
Code:
/myth/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

Is there a better way to install firefox, or a safe way to install the libraries I need?
Thanks!

Author:  lostmyshape [ Thu Jan 11, 2007 10:24 am ]
Post subject: 

sure... you can get the library package missing from here: http://www.debian.org/distrib/packages (and pretty much any library package you would need). once installed, firefox will work.

just
Code:
dpkg -i [path]/libstdc++5...deb

then run firefox.

Author:  Thep [ Thu Jan 11, 2007 4:30 pm ]
Post subject: 

I'm at work now, so my main idea now is to save this for later, or help someone who also has this problem. Something like this should work though?
Code:
wget http://http.us.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.5-13_i386.deb
dpkg -i libstdc++5_3.3.5-13_i386.deb

Author:  thornsoft [ Thu Jan 11, 2007 5:18 pm ]
Post subject: 

FWIW, it just worked for me, without the dpkg stuff. I'm on R5E50.
But may have crud left over from installing it the prior release? It didn't work well for me on prior versions, but seems to be working great now.

I followed the wiki, and it's fine. The flash plugin didn't work, so I ran the flashplayer-installer and it seemed to do the trick. I have flash now.

BTW, I MUCH prefer FireFox over mythbrowser. Here's why:

Much Faster! Mythbrowser is slow. I have no idea why, but sometimes it's like being on dial-up.

Separate window, so I can Alt+Tab to switch from Myth and FireFox. With MythBrowser, I have to quit out of watching a program. Kind of takes the fun out of looking up "who's that actor?" on IMDB.

No more of that "F1 to type" crap.

More stuff works.

I UNDERSTAND why we have MythBrowser. It's designed to work with remotes, not just keyboards. But I've got a keyboard/mouse, so I'm better off with FireFox.

Tip: I bound a key so that I can pop it up with Alt+w, anytime.
Code:
vi /etc/X11/fluxbox/keys

Add this:
Code:
Mod1 w :ExecCommand /myth/firefox/firefox &

Author:  Thep [ Thu Jan 11, 2007 6:41 pm ]
Post subject: 

Thanks for the tip on keybinding, that will work great for me.
I did a fresh install of R5E50, did you upgrade? Perhaps R5E50 doesn't have the library and you had it from a previous install? Would be nice to know why I don't have the library if it might be a help to others in the future.

Author:  Thep [ Thu Jan 11, 2007 8:32 pm ]
Post subject: 

This is no longer a problem, went away after a reboot. Thanks for the help though, and the great tip on keybinding.

Author:  thornsoft [ Thu Jan 11, 2007 11:02 pm ]
Post subject: 

For academic/historical purposes, yes I did an upgrade.

Author:  crushinator [ Tue Mar 13, 2007 8:07 am ]
Post subject: 

Thep wrote:
Code:
wget http://http.us.debian.org/debian/pool/main/g/gcc-3.3/libstdc++5_3.3.5-13_i386.deb
dpkg -i libstdc++5_3.3.5-13_i386.deb


This command told me it could not install because gcc-3.3-base was not installed yet. So first I did:

Code:
wget http://http.us.debian.org/debian/pool/main/g/gcc-3.3/gcc-3.3-base_3.3.5-13_i386.deb
dpkg -i gcc-3.3-base_3.3.5-13_i386.deb


before installing libstdc++5.

Now I can open Firefox.

Author:  mattbatt [ Wed May 02, 2007 1:05 am ]
Post subject:  The little things

Just in case there is someone else as dumb as me you have to restart the computer for the keybinding to work
Thanks again for the tut I now know some interesting shortcuts too.

Author:  mjl [ Wed May 02, 2007 9:30 am ]
Post subject: 

HI,

ctl alt bksp should load the keybind change. That restarts xserver.

Mike

Author:  roofchop [ Tue Sep 09, 2008 8:26 pm ]
Post subject: 

I am having a bunch of troubles with missing dependancies when trying to install firefox. This an almost brand new install of KM everything is working great.
When I try
Code:
root@mythtv:/myth# apt-get install firefox
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package firefox is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  iceweasel
E: Package firefox has no installation candidate


When I try
Code:
root@mythtv:/myth# apt-get install iceweasel
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
iceweasel: Depends: xulrunner-1.9 (> 1.9~rc2-5) but it is not going to be installed
libvlc0: Depends: libavcodec51 (>= 0.svn20080206-8) but it is not going to be installed or
libavcodec-unstripped-51 (>= 0.svn20080206-8) but it is not installable
vlc: Depends: libavcodec51 (>= 0.svn20080206-8) but it is not going to be installed or
libavcodec-unstripped-51 (>= 0.svn20080206-8) but it is not installable
vlc-nox: Depends: libavcodec51 (>= 0.svn20080206-8) but it is not going to be installed or
libavcodec-unstripped-51 (>= 0.svn20080206-8) but it is not installable
Depends: libavformat52 (>= 0.svn20080206-8) but it is not going to be installed or
libavformat-unstripped-52 (>= 0.svn20080206-8) but it is not installable
Depends: libavutil49 (>= 0.svn20080206-8) but it is not going to be installed or
libavutil-unstripped-49 (>= 0.svn20080206-8) but it is not installable
Depends: libpostproc51 (>= 0.svn20080206-8) but it is not going to be installed or libpostproc-unstripped-51 (>= 0.svn20080206-8) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


This seems odd... anyone know what I am missing?

Author:  mjl [ Tue Sep 09, 2008 9:07 pm ]
Post subject: 

Hi,
You might check your sources list. If there is an "un" in front of stable, remove it.
nano -w /etc/apt.sources.list
Then run:
# apt-get update
# apt-get install synaptic
# apt-get install firefox

Be very careful about adding "stuff". If it wants to update or delete files / packages then abort.

You can run synaptic by doing su (not su -)

That should work and be sure to peek at tjc's Hints & Tips for R5.5
Mike

Author:  roofchop [ Tue Sep 09, 2008 9:25 pm ]
Post subject: 

Thanks for the tip. I removed the "un" from stable in the first line of the /etc/apt/sources.list but when I try and install synaptic I get a similar error.
Code:
root@mythtv:/home/mythtv# apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
synaptic is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  libvlc0: Depends: libavcodec51 (>= 0.svn20080206-8) but it is not installable or
libavcodec-unstripped-51 (>= 0.svn20080206-8) but it is not installable
vlc: Depends: libavcodec51 (>= 0.svn20080206-8) but it is not installable or
libavcodec-unstripped-51 (>= 0.svn20080206-8) but it is not installable
vlc-nox: Depends: libavcodec51 (>= 0.svn20080206-8) but it is not installable or
libavcodec-unstripped-51 (>= 0.svn20080206-8) but it is not installable
Depends: libavformat52 (>= 0.svn20080206-8) but it is not installable or
libavformat-unstripped-52 (>= 0.svn20080206-8) but it is not installable
Depends: libavutil49 (>= 0.svn20080206-8) but it is not installable or
libavutil-unstripped-49 (>= 0.svn20080206-8) but it is not installable
Depends: libpostproc51 (>= 0.svn20080206-8) but it is not installable or
libpostproc-unstripped-51 (>= 0.svn20080206-8) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I have spent some time on tjc's Hints and Tips, it is a very useful resource.

Author:  mjl [ Tue Sep 09, 2008 10:01 pm ]
Post subject: 

Hi,

Looks like you may not have run apt-get update ?

Mike

Author:  elgordo123 [ Wed Sep 10, 2008 9:39 am ]
Post subject: 

Maybe I'm the odd one here... Its much easier than that (for me anyway)
Code:
su (to root)
cd /myth
wget -P ~ ftp://ftp.mozilla.org/pub/firefox/releases/3.0.1/linux-i686/en-US/firefox-3.0.1.tar.bz2
tar jxvf firefox-3.0.1.tar.bz2
chmod a+x /myth/firefox/firefox
exit (back to regular user)
./myth/firefox/firefox


Or put in menu like I described here:
http://mysettopbox.tv/phpBB2/viewtopic. ... highlight=

Thats it, no muss, no fuss....

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/