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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-14-2008, 12:10 PM
|
#1
|
Senior Member
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Rep: 
|
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?
|
|
|
11-14-2008, 01:21 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,385
|
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
|
|
|
11-14-2008, 01:39 PM
|
#3
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
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.
|
|
|
11-14-2008, 06:10 PM
|
#4
|
Senior Member
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Original Poster
Rep: 
|
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?
|
|
|
11-14-2008, 06:46 PM
|
#5
|
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:
|
Just the ones written in C (so yes all of them.)
|
|
|
11-14-2008, 06:47 PM
|
#6
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
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.
|
|
|
All times are GMT -5. The time now is 11:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|