LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2013, 11:54 AM   #1
nuliknol
Member
 
Registered: Jul 2009
Posts: 42

Rep: Reputation: 0
statically linked browser binary for linux


Hi,
I need a statically linked binary executable of a Firefox or Chrome (or any other browser for X), latest version, or at least a version of year 2012. Does any one knows where can I download it? 32 bits architecture.

Will appreciate any suggestions.
Thanks
 
Old 02-18-2013, 11:58 AM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,742
Blog Entries: 23

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Umm, what do you mean by statically linked? If you mean directly executable without having to compile, then look no further: it's in your repo.
By the way, what distro are you using?
I found that a pre-compiled Firefox runs 'out of the box' so to speak, just pop it anywhere (where you've got yhe sys-rites, of course ... ) and run it either by souble-clicking in the file manager or from the console:

Quote:
cd /where-you-put-the
./browser
the ./ is important, otherwise your system will try to run the default (via the PATH)...

Thor
 
Old 02-18-2013, 01:04 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,502

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617
what exactly are you trying to accomplish ?
 
Old 02-18-2013, 01:08 PM   #4
nuliknol
Member
 
Registered: Jul 2009
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Thor_2.0 View Post
Umm, what do you mean by statically linked?
well, I mean, when you do 'ldd' to the binary you get no reference to any library, this means, the executable contains all the libraries, linked to itself at compile time.


For example, this is what you get when you 'ldd' a dynamic executable:
Code:
[niko@localhost bin]$ ldd ash
        libc.so.6 => /lib/tls/libc.so.6 (0x00bc9000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00bb0000)
and this is what you get when you 'ldd' a static executable:
Code:
[niko@localhost bin]$ ldd ash.static
        not a dynamic executable
[niko@localhost bin]$
It doesn't matter what distro I am using, because statically linked executable will work directly with linux kernel and won't go through the library layer currently installed on the OS.
 
Old 02-18-2013, 02:56 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,502

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617
you want a monolithic blob

build firefox 18.0.2 from source and build a static version
 
1 members found this post helpful.
Old 02-18-2013, 04:29 PM   #6
nuliknol
Member
 
Registered: Jul 2009
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
you want a monolithic blob

build firefox 18.0.2 from source and build a static version
I don't have space and some libraries, I need already compiled executable.
 
Old 02-18-2013, 05:43 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,502

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617
so you do not have the 42 meg needed for the firefox download
22 meg DL
-- 32 bit -- USA English version
ftp://ftp.mozilla.org/pub/firefox/re...ux-i686/en-US/
and 42 meg installed
-- 64 bit - USA English version
ftp://ftp.mozilla.org/pub/firefox/re...-x86_64/en-US/

Last edited by John VV; 02-18-2013 at 05:45 PM.
 
Old 02-19-2013, 09:19 AM   #8
nuliknol
Member
 
Registered: Jul 2009
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by John VV View Post
so you do not have the 42 meg needed for the firefox download
22 meg DL
-- 32 bit -- USA English version
ftp://ftp.mozilla.org/pub/firefox/re...ux-i686/en-US/
and 42 meg installed
-- 64 bit - USA English version
ftp://ftp.mozilla.org/pub/firefox/re...-x86_64/en-US/
that's sources only, compiling sources will require about 200MB, and I also miss required packages.
 
Old 02-19-2013, 12:21 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,502

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617
those two links are NOT source code
they are prebuilt binaries
everything but the plugins are in the one zip
there is no need for any extra *.so's
 
Old 02-19-2013, 09:48 PM   #10
fayebryant00
LQ Newbie
 
Registered: Feb 2013
Location: Stamford
Posts: 1

Rep: Reputation: Disabled
great

nice thread. thanks for sharing that information. it was very informative.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to build statically linked binary with autoconf The_Sven Linux - General 2 11-15-2009 10:31 AM
firefox 32bit still statically linked? Olaus Slackware 9 10-30-2009 10:29 PM
rebuild statically linked ports 24jedi *BSD 2 09-15-2006 11:56 PM
Really statically linked skype client ? tothzp Linux - Software 1 04-21-2006 08:17 AM
Gnucash statically linked binary melinda_sayang Slackware 7 07-11-2004 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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