LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-28-2014, 12:55 AM   #1
syedk01
LQ Newbie
 
Registered: Oct 2008
Location: sunnyvale, ca
Posts: 5

Rep: Reputation: 0
cannot start browser on ubuntu ,12.04


If I start mozilla or chrome I get usr/lib/python2.7/libdynload/pyexpat.so wrong ELF class Elfclass64 I had upgraded from python 2.7 to 3.3 am running ubuntu 12.04 64 bit on thinkpad t410
 
Old 08-28-2014, 04:37 PM   #2
ventsyv
Member
 
Registered: Apr 2006
Posts: 57

Rep: Reputation: 3
That means you are mixing 32 and 64 bit binaries. Also, python3 is installed along side 2.7, but 2.7 is still the default one used on your system. To make sure that's the case, run :
Quote:
python --version
To fix the promblem, try the following:

Quote:
sudo apt-get remove firefox
sudo apt-get remove python (this will remove the default 2.7 version)
cd /usr/bin
sudo ln -s python3 python (this will make python 3 the default python on your system)
sudo apt-get check
sudo apt-get clean
sudo apt-get install firefox
sudo apt-get install chromium (for the open source version of google chrome)
firefox &

Last edited by ventsyv; 08-28-2014 at 04:43 PM.
 
  


Reply

Tags
browser, python



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't start file browser gho6uuu Linux - Desktop 1 02-12-2009 05:38 PM
newbie: webmin will not start in browser tonj Linux - Software 3 09-20-2008 05:00 PM
Can only start web browser as root tzonga1 Linux - Newbie 2 11-04-2007 05:16 PM
Can I gett KPPP to start when I start a browser on a network machine? duffboygrim Linux - Networking 0 03-25-2004 04:49 PM
Browser will not start belkins Linux - Software 14 04-10-2003 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:44 PM.

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