Software :: How Are The Kernel And Libc Connected
Jul 12, 2011
What is the connection between the kernel and Libc (either gLibc, uClibc, etc.)?
For instance, what happens if I upgrade the kernel but keep an older version of Libc and applications that rely on it: Will applications keep running, and I will need to upgrade Libc only if I install newer applications that expect to find new systems calls in the kernel that they reach through Libc?
Or are the kernel and Libc totally unrelated?
View 7 Replies
ADVERTISEMENT
May 6, 2011
I've compiled the last stable ubuntu kernel (2.6.38-...) following this guide: How to compile a Ubuntu 10.10 kernel but in this guide doesn't explain how create linux-libc-dev package for that kernel? How do I do?
I've tried with fakeroot debian/rules binary-arch-headers but it returns an, IMHO, absurd error:
mkdir /home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/
mkdir: cannot create directory `/home/simon/sources/kernel/ubuntu-natty/debian/linux-libc-dev/usr/include/': File exists
make: *** [install-arch-headers] Error 1
The error is correct but this folder is created in the same process!
View 1 Replies
View Related
May 1, 2010
I have a sata drive used for storing music and videos formated with jfs that is somehow corrupted. I can boot the pc with the drive connected using a Slax CD but can not boot using my Slackware install with kernel 2.6.33.2.I can only boot Slackware with this sata drive disconnected I want to try and recover the music and videos on hd with jfsrec. Is there a way to force the boot process with the cabling connected to this drive?
View 5 Replies
View Related
Aug 1, 2009
I was able to copy the iso file and tried the installation however I stubbled upon the same problem I had when I tried installing Fedora 11. The message I received was "(1) (0.048001) MP-BIOS bug:8254 timer not connected to IO-APIC (2) (0.064001) Kernel panic-not syncing:IO-APIC + timer doesn't work Book with apic debug and send a report. Then try booting with the 'no apic-option'.
View 4 Replies
View Related
Jul 11, 2009
I couldn't find any package containing a static version of the C library for 32-bit. Did I miss something or is it really not available, and if so is there a reason why?
View 14 Replies
View Related
Apr 12, 2010
Im using buildroot to generate a file system . in tat one package module-init tools need static version of libc.a . so may i know how to install tat in fedora 12 ?mine CPU is as given below
Linux Nakshatra 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686 i686 i386 GNU/Linux
View 2 Replies
View Related
Jul 20, 2011
I'm on Ubuntu 11.04. I get the above error when running a utility to get code from a version control system (StarTeam). The error looks generic enough that I'm hoping its an easily resolvable system problem. Below is how I get it ...
Code:
$ /bin/sh -c stcmd label -x -nologo -stop -p username:password@mydomain.com:9999/NNA/NNA/Technology/nna/tools/selenium -nl selenium-utils-1.0 -b
strings: '/lib/libc.so.6': No such file
[code].....
View 1 Replies
View Related
Oct 27, 2010
I've been working with out servers for the past several years. We have a mix of OS. Fedora, Ubuntu, RHEL, etc. I've accidentally trashed the libc.so.6 link and now nothing but shell commands work.
I tried to echo "/lib/libc-2.10.2.so into the /etc/sestatus.conf file, but that didn't have any affect. Does anyone know where the search path is maintained besides PATH so I can try to point the apps to the /lib/libc-2.10.2.so file? I have a bunch of SVN repos on this server and right now, no one has access.
View 3 Replies
View Related
Apr 28, 2010
I want to supply the shared libs along with my program rather than using the target system's due to version differences:
ldd says my program uses these shared libs:
I have successfully linked ld-xxx.so by compiling like this:
But I have not managed to successfuly link libc-xxx.so.
View 5 Replies
View Related
Aug 28, 2010
I am trying to install sysstat-5.0.5-1.x86_64 rpm, but thats needs to install dependencies libc.so.6... For details I have attached the screenshot. No yum is configured there.
View 1 Replies
View Related
Jul 13, 2010
I'm trying to compile ink but with no luck. Here are the terminal output,
Code:
[trumpet@Trumpet-PC ink-0.5.1]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
[code]...
View 6 Replies
View Related
Feb 9, 2010
OS: OpenSUSE 11.2
Application: Recital Developer (database)
I'm running into this error when I startup the program."GLIBC_2.0 not defined in file libc.so.6 with link time reference"
View 3 Replies
View Related
Mar 29, 2010
I was trying to sort out some problems I was having with synaptic and in a <sarcasm>slash of brilliance</sarcasm> I renamed my libc.so.6 to something else. Since then any command I type throws up:Code:apt-get: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directoryI can't get anything done. Nautilus/package manager/nothing fires up.
View 1 Replies
View Related
Sep 10, 2010
1. I need to use clock_gettime(), in <time.h> it is: extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __THROW; and in a successful build .so it is unsolved. In final app to lonk to this .so it is also unsolved. which lib missed in .so or app build?
2. libc include several libs, which are liked by default? say stdc++, rt? rt1/rt2 what does they do?
3. How to find which libc is used or linked?
View 2 Replies
View Related
Jun 24, 2010
What is the purpose of libc in an operating system?
Is the libc is common for all OS or it is different for different OS!?
I mean source of libc build for RH is same for Ubuntu !?
View 2 Replies
View Related
Sep 30, 2010
I installed RHEL 3.5 with all packages (everything), I try to install networker client software then libc.so.6 (GLIBC_2.3.4) is needed by lgtoclnt-7.6-1.
1. lgtoclnt-7.6-1.i686.rpm is supported in RHEL 3.5?
2. how can i get glibc_2.3.4
3. how to install glibc_2.3.4
View 2 Replies
View Related
Jul 16, 2010
Trying to use gdb to debug a C program, I got the message (from gdb) of "missing separate debuginfos, use: debuginfo-install glibc-2.12-2.i686" so I did that. However, although it began trying, I got the message "could not find debuginfo for main pkg: glibc-2.12-2.i686"
I am running Fedora 13, with pretty much the standard repositories which come with it.
View 1 Replies
View Related
Jul 25, 2011
1 system info:
root@yes-desktop:/usr/src/eglibc-2.11.1/malloc# uname -a
Linux yes-desktop 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
2 gcc version
root@yes-desktop:/usr/src/eglibc-2.11.1/malloc# gcc -v
Using built-in specs.
[code]....
1 why cann't i debug the test? because i can't step into the "operator new" function.
View 2 Replies
View Related
Mar 30, 2011
I updated my netbook to the last incarnation of slackware-current yesterday.
My problem is now, that it is no more able to start the ash shell of the initial ramdisk i am using. The ramdisk was created with the latest version of the mkinitrd script.
The error message is:
Code:
And the error happens when the ash from the initial ramdisk is intended to be started. Simply copying the /lib/libc.so.6 stuff (symlink to the real so and the real so) enables to ash to be started but later cryptsetup fails to load.
The initial ramdisk from mid-January i used before did not have such a problem. What i also see is, that the failing ramdisk has a size of only 16k blocks. The one from mid-January was bigger.
View 2 Replies
View Related
Mar 17, 2009
/usr/dlc/bin/_progress: relocation error; symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time referrence
And the solution offered is:
But the problem still exists.
If I use 2.4.20 I get an error about shared "something" in library and I cannot use command line like using command as ll, ls, mkdir but if I change that to 2.6.18 I get the error above but I can now use these commands: ll, ls, mkdir, etc.
I'm using Progress 9.1D and the application was compiled using CENTOS 4.4. Now I just copied the Progress 9.1D as is to new server HP Proliant ML110 G5 with CENTOS 5.2 installed.
Copying Progress 9.1D to other computers (IDE and not SATA drivers) with CENTOS 4.4 installed has no problem. Everything runs.
Could this be due to GLIBC version. Progress application was compiled using GLIBC version 2.3.4 but my GLIBC now is version 2.5.
If this is the case, can I just copy GLIBC version 2.3.4 and put it in my ProliantML110G5 server? If not how do I do it? Downloading and installing etc.
View 2 Replies
View Related
Apr 2, 2010
I'm trying to upgrade an etch system to lenny, I've updated my sources list to lenny and ran apt-get update. When I try apt-get install apt
apt-get install apt I get the following:
Reading package lists. Done Building dependency tree. Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation:
The following packages have unmet dependencies. apt: Depends: libc6 (>= 2.7-1) but 2.3.6.ds1-13etch10+b1 is to be installed Depends: libstdc++6 (>= 4.2.1) but it is not going to be installed E: Broken packages
if I try apt-get install apt libc6, it wants to upgrade a whole heap of packages - will this be a safe thing to do ?
View 3 Replies
View Related
Aug 4, 2010
When I debug a program with GDB and hit a break point I get:
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C "debuginfo(build-id)=2b25d8329d1aa713a2cc61b5cb701f6f89c78022"
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C "debuginfo(build-id)=f05646449077dfbf15d5f78251a3b25e0f955dd9"
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C "debuginfo(build-id)=9b674b2caef1982db55e436bca814060e1705b7f"
When I install the suggested packages the debuginfo does not match the object files. I get:
warning: the debug information found in "/usr/lib/debug//lib64/libc-2.11.2.so.debug" does not match "/lib64/libc.so.6" (CRC mismatch).
warning: the debug information found in "/usr/lib/debug/lib64/libc-2.11.2.so.debug" does not match "/lib64/libc.so.6" (CRC mismatch).
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C "debuginfo(build-id)=9b674b2caef1982db55e436bca814060e1705b7f"
The last package is not found. Is this missing from the repositories?
View 4 Replies
View Related
Feb 25, 2010
I have been trying to fix this problem for 3 days, any ideas before I jump through the window (not the bill gates one)?I am using ubuntu 9.10 and running a ./configure.
View 3 Replies
View Related
Mar 12, 2010
i am getting these error when compiling:
ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
ld: cannot find -lc
What is the library -lc?
View 9 Replies
View Related
Jun 3, 2010
After the upgrades have installed on my installation of Ubuntu 10.4 (there were some kernel upgrades, I don't remember if there was any libc update there) it asked me to do a reboot. So I did and I got that error when Ubuntu was starting:
Code:
/bin/sh: error while loading shared libraries: /lib/libc.so.6: invalid ELF header
Kernel panic - not syncing: Attempted to kill init!
And if I run Ubuntu in recovery mode there's what I get after this:
Code:
Pid: 1, comm: init: Not tainted 2.6.32-22-generic #35-Ubuntu
There's also Call Trace after this, and a bit of text there, but as I'm rewriting those errors from a photo captured (because I cannot find logs of this in /var/log/) I will skip it unless it's needed to solve the problem. EDIT1: I cannot find anybody who had this problem during startup, there are only guys who had this during compiling or installing software
View 9 Replies
View Related
Dec 22, 2010
i am installing the software vlc-1.1.5.tar.bz2 on my red hat linux 5.0 after extracting & by firing the command ./configure on command prompt it shows following error & after configure the make & install command is not working
configure: error: Buggy GNU/libc (version 2.5 - 2.7) present. VLC would crash; there is no viable work-around for this. Check with your distribution vendor on how to update the glibc run-time. Alternatively, build with --disable-nls --disable-mozilla and be sure to not use LibVLC from other applications/wrappers.
View 3 Replies
View Related
Mar 12, 2010
Does anyone see a problem with my code? attempting to do a strdup is failing with a segmentation fault within libcplugintools.h
Code:
/* Provide function for adding files to be copied/linked
into report
[code]...
View 1 Replies
View Related
Sep 13, 2010
Okay, just wanted to be perfectly clear on this point... /static/ software builds don't link to /any/ shared libs, right? I.e., can a static-built C program run on a system without a libc installed?
View 1 Replies
View Related
May 26, 2010
I got the weekly updates; libc files and an xorg core file from memory. Thinking now the xorg core possibly rewrote my xorg.conf!seems to have killed the restricted ATI driver. I can boot from kernel 2.6.24.26 but 27, the one I did the updates, after the Ubuntu progress bar I get a black screen. Booting from 26 I get the low resolution graphics guff and need to set it manually each time. Go to Sys->Admin->Hardware Drivers, and sure enough, the ATI driver is 'Not in Use'. Switch it on, try booting into 27, black screen.
Phew, back to 26, change to manual config, get back in, see ATI driver is off again, leave it off and leave manual graphics resolution and config, boot back into 27, everything is stretched and out of proportion!! But I can at least get in. Switch ATI driver on in there, reboot into 27, black screen.This is pretty urgent as my wife is end of semester uni stuff and needs this machine. Worse, so am I and have even more on the plate (but at least have a computer!),
View 4 Replies
View Related
Oct 29, 2010
i have server with rhel3 ES. in folder "/lib64/tls" there is one file named libc.so.6 which is softlink of libc-2.3.2.so. i just copied libc-2.3.4.so from rhel4 AS server to rhel3 server in the same location and override the softlink libc.so.6 as a softlink of libc-2.3.4.so. now no any command is working in this server i.e.(cp,vi,rm mv ls etc.). it is also not opening any terminal and nothing command is working.
View 1 Replies
View Related