LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-14-2008, 12:10 PM   #1
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
glibc required for all browsers?


Is glibc required to use all browsers? I was trying to install a browser called Kazehakase, similar to Ephiphany. I got the libraries aside and ran into it saying it needed glibc. I'm building my own custom Slackware and need it to be as small as possible. The 22 megs that glibc takes up would kill my space.

Is there any browser I can use that is small and does not require glibc?
 
Old 11-14-2008, 01:21 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
glibc is used by a wide range of applications. The chances of you being able to build a system where nothing uses glibc is pretty small.

---------------------
Steve Stites
 
Old 11-14-2008, 01:39 PM   #3
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
glibc is the standard C library. A lot of stuff in the user land depends on it, so you are going to have a hard time to setup an OS without a C library. If there is really a problem with the space, then you should be using uclib instead. That's my advice.
 
Old 11-14-2008, 06:10 PM   #4
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472

Original Poster
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
I know exactly what library I need, and where it should go. Is it possible to extract the needed library from the glibc package and use that? I will not be installing any other programs on the given system anyway. The program is netsurf. This is the response I get when trying to start it:

Quote:
netsurf: /lib/libc.so.6: version 'GLIBC_2.4' not found (required by /usr/lib/liblcms.so.1)
I tried to install GLIBC 3.6 from the Slack 11 directory, Slack 12 has 2.5 and 12.1 has 2.7. Is it possible to take the libc.so.6 out of the glibc package and put it in the given directory?
 
Old 11-14-2008, 06:46 PM   #5
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Just the ones written in C (so yes all of them.)
 
Old 11-14-2008, 06:47 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I guess so. However, I doubt it's that easy (though admittedly I never did this).

You can use ldd to know exactly all the files that are linked dynamically against a binary program. There might be some interdependences as well. With that I mean that liblcms.so will in turn link against some libs, and those libs, might link against some others, and so on. For example, in my system ldd reports this:

Code:
$ ldd /usr/lib/liblcms.so.1
        linux-vdso.so.1 =>  (0x00007fffc75fe000)
        libm.so.6 => /lib/libm.so.6 (0x00007fcabef8c000)
        libc.so.6 => /lib/libc.so.6 (0x00007fcabec37000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fcabf469000)
For minimal systems uclib can come in handy as I said. That's why I never bothered stripping glibc, however it could be an interesting experiment to do.
 
  


Reply



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
problem installing glibc-2.3.2-4.80.i686, glibc-common-2.3.2-4.80.8.i386.rpm martianpackets Red Hat 8 05-01-2009 03:22 PM
LXer: Comparison Between Linux Web Browsers - Review of 5 Linux Browsers LXer Syndicated Linux News 0 05-17-2008 01:21 PM
glibc 2.3.6 - configure: error: compiler support for __thread is required egghead Linux - General 0 02-26-2006 09:00 AM
Replacing glibc using linuxthreads for glibc using nptl (native positx thread library CestusGW Linux From Scratch 4 01-20-2005 07:26 AM
glibc package required Xing Linux - Software 2 09-27-2003 12:50 PM

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

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