General :: Forward / Backward Compatibility Of Glibc And Kernel

Jun 11, 2010

Suppose you have glibc 2.5 compiled with kernel headers 2.6.18. Is it safe to run this glibc with Linux kernel 2.6.32? Is it safe to run this glibc with Linux kernel 2.6.9?

View 1 Replies


ADVERTISEMENT

General :: Shell Script To Extract Single Report By Pattern Then Both Backward And Forward

Feb 18, 2010

I have to admit that I register to LQ after I failed to search for similar solutions.let me see whether I can explain my problem clearly. I need to extract a single report from a big file. The big file looks something like this:

Report for yyyyyy
Your info 999-9999999
End of Report

[code]....

I need to search for a user provided string, say 999-9999999, in the big file. Then I have to extract the single report. My logic is simple,

1) find 999-9999999
2) backward search for "Report for", note down the line number
3) forward search for "End of Report", note down the line number
4) extract the record by using info found from step 2) and 3).

I am trying to do this in bash, with awk and sed (I am new to both).

View 8 Replies View Related

Software :: Determining GCC / Binutils And Glibc Version Compatibility

Apr 4, 2010

This questions pertains mainly to building a brand new GNU toolchain on one machine for deployment on fs of another machine that has no toolchain installed. I understand the machine on which GNU toolchain is going to be built as the 'build' machine. I understand the machine on which GNU toolchain is going to be deployed as the 'host' machine. I understand the machine on which the code generated by the new GNU toolchain is going to be run as the 'target' machine.

Q1.) Is there a fixed 'rule', 'matrix' or 'table' somewhere which tells me exactly which versions of 'binutils' and 'libc' are required by a particular version of GCC? I.e. something along the lines of:

- gcc ver.'k' can be built using gcc ver.'m'(or later) with binutils ver.'i' and libc ver. 'j'
- gcc ver.'k' will operate with binutils ver.'t' and libc ver.'r'(or later)

Is there some 'rule of thumb' / 'heuristics' giving me the above version requirements for the building and operating GCC, or is this information somehow implied or derived systematically. Where can I find more about the above?

Q2) I assume that the libraries have no dependencies on any underlying software other than the system calls provided by the kernel. Furthermore it appears that the libraries are not too sensitive about the kernel version they run on (I found this out from experience). Therefore I could build the libraries on some build machine and place them on the bare naked newly set up host file system without regard to any other prerequisite SW components?

Q3) During operation, do GCC and its various components place system calls directly to the kernel or via library calls (or both)? In other words I am trying to understand conceptually if GCC requires 'Glibc' for its own operation or not?

Q4) During operation, do the 'binutils' components place system calls directly to the kernel or via library calls (or both)? In other words I am trying to understand conceptually if the 'binutils' require 'Glibc' for their operation or not? ( Of course it is clear to me that when GCC is operating it will need libraries and headers to resolve object references in the target code it produces, but that would be a >different< question).

View 5 Replies View Related

CentOS 5 :: Can't Install Kernel-headers Glibc And Glibc-headers?

May 11, 2010

Yesterday, I think I did something stupid: I removed kernel-headers, gcc, glibc-devel and glibc-headers. My box is a CentOS 5.4 webserver (it has loads of packages installed, but that was done through Virtualmin config, so it's quite coherent all in all). The thing is that now I need to reinstall at least the headers and glibc, but hey! this is what I get :

[Code]...

View 19 Replies View Related

General :: Build A Glibc Version For Target Machine's Kernel?

Jan 8, 2010

AFAIK, in addition to implementing the standard C library, glibc provides wrappers for system calls, threading support, and basic application facilities. So because of that, glibc that will be used on my target system should be built based on the kernel version running on my target, right?

Based on the above, I am trying to build a glibc version for my target machine's kernel. However, I don't know to to build a glibc library for a target system and also where on the target's filesystem should be put? In which location Linux will start looking for the libraries required for a program to run (should I create an /etc/ld.so.conf file)?

View 12 Replies View Related

General :: Glibc-2.3.2-95.37.i386 Parallel To Glibc-x86_64

Jun 13, 2011

OS : Oracle Enter Prise Linux 6 (equivalent to RedHat)

I am in process to install oracle 10g on said OS.My process fails and after digging up , I came to know that some of the oracle libraries are compiled on 32-bit architecture and it require glibc-32 bit . also it require for gcc-32 bit.

Now i have downloaded all the required rpm for gcc-32bit . when I try to install glibc and its dependencies , it gives me error that newer version already exist.

How can I install , Gcc-32bit(libgc, libstd-i386 etc) in parallel or standalone?

View 3 Replies View Related

Red Hat / Fedora :: Error: Failed Dependencies - Glibc = 2.12.1-3 Is Needed By Glibc-common-2.12.1-3.x86_64

Oct 26, 2010

I've been working to get gcc up and running on a new install of Fedora 13. glibc-devel had dependencies upon installation where it required glibc and glibc-common, both 2.12.1-3. No problem, found both at rpm dot pbone dot net. However, when I try to install the following circular dependency results... it doesn't matter the order of install.

Code:

[root AT localhost gcc_install]# rpm -ivh glibc-common-2.12.1-3.x86_64 .rpm
error: Failed dependencies:
glibc = 2.12.1-3 is needed by glibc-common-2.12.1-3.x86_64

[code]....

View 5 Replies View Related

Slackware :: Glibc And Glibc-i18n Packages Contain Redundant Files ?

Jun 24, 2011

I notice that these two packages contain the same files and uninstalling glibc-i18n doesn't uninstall the internationalization files, because they are also in the glibc package. Is this a mistake or is this normal or is there a reason for it ? I just made my own glibc package to fix this, but was wondering why this is the way it is...

View 7 Replies View Related

Slackware :: Should Glibc Be Updated In Current Every Time There Is Kernel Update?

Feb 10, 2010

I am running Slackware64-current(multi-lib) and I have stumbled across something that I don't fully understand.I have read that the kernel-headers should not be updated as glibc is compiled against them and therefore requires that set of kernel headers. Recently the kernel version has been bumped a couple of times but glibc has stayed the same.Should glibc be re-compiled each time there is a kernel update?

Perhaps someone can explain, in very simple terms, the relationship between the kernel, the kernel headers, the kernel modules and glibc.

View 14 Replies View Related

OpenSUSE Install :: Update Glibc-2.9 To Glibc-2.10 In 11.1 64 Bits

Apr 12, 2011

I have installed Zimbra 6.0.1 and updated to Zimbra 7.1.0, the problem is that it needs the glibc-2.10 to start one of its services. I tried everything but i'dont get to update the glibc.

View 1 Replies View Related

CentOS 5 :: How To Replace Glibc.i686 By Glibc.i386

Sep 16, 2011

I made an update of my Centos 5.5 yesterday. In doing so glibc has been updated to glibc.i686. Just now some of my FPGA tools crash. Unfortunately there isn't a downgrade for glibc.i686. How can I replace glibc.i686 by glibc.i386?A simple yum install glibc.i386 conflicts with the files from package glibc-2.5-65.i686

yum list glibc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

[code]....

View 4 Replies View Related

CentOS 5 :: Downgrade Glibc Due To A Broken Kernel After A Libc6 Upgrade Attempt?

Jul 18, 2009

I need to downgrade glibc due to a broken kernel after a libc6 upgrade attempt. See:[URL]..Especially with the reduced capabilities I have right now (few if any programs are working), how might I go about downgrading glibc to 2.6?

View 1 Replies View Related

Ubuntu :: Get The Graphics Working Correctly - Driver Compatibility And The Kernel

Aug 24, 2010

I am trying to get the graphics working correctly on an old HP Compac d220 mt machine that has an Intel 82845G Graphics Controller.

[Code]...

The latest driver I can find is: Intel(R) Graphics Driver - Linux*[IntelGraphics_060704.tar.gz] dated 12/17/2004 Version 20041217 When I started to install this driver I got a message that said that it was compatible with kernel version 2.4.(+ numbers I don't remember) So I stopped the installation. My question is what will / could happen if I go ahead and try to complete the driver install? Will I hose the entire system? I am fiddling with the kernel if I continue to install the driver.

IF it does break, would it be possible to undo the driver install using the text based root console with networking via the recovery option or will that too be inoperable if I hose the system. Should it break and I can get to the recovery option and open a terminal. How would i uninstall it? I am just getting reacquainted with Linux again after 20 years. I am not using the advanced package management tool to install the driver. The driver has it's own installation script. (have not looked to see if it has an uninstall script in the file list) I won't be able apt-get remove or dpkg purge anything.

View 1 Replies View Related

Software :: Upgrade Redhat5 From Glibc 2.5 To Glibc 2.7

May 30, 2011

I am in very much need to resolve the issue of Upgrade redhat5 from glibc 2.5 to glibc 2.7. The problem is when I run a binary compiled on our build setup (glibc 2.11) on Suse 11 (glibc 2.9) it works fine...

But the same binary do not work on redhat enterprise version 5 telling error as need glibc2.7 or sometimes segmentation fault for the same binary execution.

I tried upgrading the redhat glibc 2.5 to glibc 2.7, but not successful.

View 3 Replies View Related

CentOS 5 :: Upgrade Glibc 2.5 To Glibc 2.7?

Jul 13, 2010

I am using CENTOS 5.3, I want to upgrade glibc 2.5 to glibc 2.7.

how to do it.

I am not getting from where to start

View 4 Replies View Related

Red Hat / Fedora :: Can Upgrade Kernel To Version 2.6 And Glibc To Version 2.5?

Feb 5, 2010

I have a server running Reh Hat Linux 7.3 with kernel 2.4.18. Can i upgrade kernel to version 2.6 and glibc to version 2.5?

View 6 Replies View Related

General :: Build Glibc For Powerpc?

Aug 16, 2010

I'm trying to build the glibc-2.3.6 (with debug symbols) for a powerpc system. I need to compile this libraries with gcc 4.1.1 and binutils 2.16.1.

All my tentatives fails and I don't know how to start with the process of building.

View 2 Replies View Related

General :: Error - Compile Glibc ?

Jun 2, 2010

I need to compile glibc.

What is this error ?

Code:

View 5 Replies View Related

General :: C++ Error Glibc Detected?

Jul 1, 2010

Hi I am getting this error::

*** glibc detected *** ./a.out: free(): invalid next size (fast): 0x084ed538 ***
======= Backtrace: =========
/lib/libc.so.6[0x4df851]

[code]....

View 1 Replies View Related

General :: Glibc-2.3.5 Install Error

Aug 21, 2009

Now i am installing glibc-2.3.5

The problem is:

View 4 Replies View Related

General :: Port The (only) Libthread.so From The Glibc 2.xx

Mar 29, 2010

It is possible to port the (only) libthread.so from the glibc 2.xx (with mipsel cross-compiler) or do I carry the whole glibc. I need the nptl library on my mips(el) target

View 1 Replies View Related

General :: Gcc Compilation - Newer Version Of Glibc ?

Nov 13, 2010

In a chroot einvironment i am trying to compile gcc but is says that i need a newer version of glibc, but i have the newest version of it. i think somehow it trys to use the older glibc from the ubuntu install im makeing it on.

View 1 Replies View Related

General :: Error Message - GLIBC 2.0 Not Defined

Oct 1, 2010

Error message: GLIBC_2.0 not defined in file libc.so.6 with link time reference. What can I do?

View 1 Replies View Related

General :: Glibc 2.11.1 Installation Error With NSCD

May 5, 2010

I am a non-root user on my Lab computer with RHEL4 OS and am trying to install Glibc-2.11.1 on it .. for proper installation I used a directory other than the source directory of Glibc and ran configure which was fine, then I ran make which also ran fine.. but when I ran "make install" an error came up which was :

make subdir=nscd -C nscd ..=../ subdir_install
make[2]: Entering directory `/data/sandy/Desktop/Gotten/glibc-2.11.1/nscd'
gcc -pie -Wl,-O1 -nostdlib -nostartfiles -o /data/sandy/Desktop/Gotten/glibc-build/nscd/nscd -Wl,-dynamic-linker=/data/sandy/program2/glibc/lib/ld-

[Code].....

so I guess I don't need to specify the configparms .. but anyway I did it as earlier I wasn't sure what would solve my problem with NSCD.. Then I moved to make and all went fine, but the same error popped up during "make install"

install the Glibc package being a non-root user?

View 7 Replies View Related

General :: Website For Looking Up Hardware Compatibility?

Sep 30, 2010

Can someone share a website where you can look whether a hardware device is linux compatible? All the websites I've gone to are useless.

View 7 Replies View Related

General :: Get Berkeley DB With 1.85 Compatibility Mode?

Jan 9, 2010

I am trying to install gnome-bin 1.4.2 from source but it is telling be I need my Berkeley DB to have 1.85 compatibility mode - how do I do this? I've tried both the libdb4.2-dev package (which give the error below) and the libdb1-dev package (which tells me I am missing DB support all together).

Code:
checking for dbopen... no
checking for dbopen in -ldb... no
checking for dbopen in -ldb1... no
checking for __db185_open in -ldb-3... no
checking for __db185_open in -ldb-4... no

configure: error: Your db library is missing db 1.85 compatibility mode. How do I get Berkeley 1.85 compatibility mode on my system?

View 4 Replies View Related

General :: Converting And Hardware Compatibility?

Aug 10, 2010

I am an activist. I am becoming concerned with security on line because I have posted videos exposing SERIOUS corruption within the government at all levels. With all the recent claims of executive authority in the name of cyber security and govt eavesdropping I am interested in finding a more secure op sys. Windows is to vulnerable. I have an HP7845 Sound Blaster 64 Sound card. Radeon 9800 video card. I have a large volume of videos and media/research reports I cant afford to lose. How easy is the conversion? And also concerned with software. Will programs work the same or at all?Is my equipment even compatible with other opsystems. Is there a risk of glitches that would curtail my efforts after attempting the change. I KNOW NOTHING about other systems hell I can barely run XP. However I would hate to lose files or go through a months long debugging venture.

View 2 Replies View Related

General :: Package Managers Upgrade Packages Like Glibc?

Jul 16, 2011

I've been looking further into Linux from Scratch, and I am particularly interested in the package management side of the system. I understand that this is not covered in the book, but if I were to attempt LFS, package management would be a major convenience. From what I have read, when upgrading packages like glibc, you have to recompile everything to reflect the change.

If that is true, how do package managers like pacman and apt get around this issue? Isn't lacking glibc for even the time it takes to replace the files catastrophic to the system?

View 1 Replies View Related

General :: Software Installation / Glibc Up-date Necessery

Apr 25, 2010

I want to install the media-player vlc 1.0.6 on my system.My Linux version is Linpus. The package's name ended with tar.bz2 so I tried to install it from source. I don't know how to update the glibc run.time and I don't understand the alternative suggestion. What should I do?

View 3 Replies View Related

General :: Unable To Install Glibc-2.3.4-2.41.i386.rpm / Make It Possible?

Apr 27, 2011

Code: [root@test ank]# uname -a
Linux test.testbox.com 2.6.9-67.0.0.0.1.ELhugemem #1 SMP Sun Nov 18 00:31:12 EST 2007 i686 i686 i386 GNU/Linux I am unable to install glibc-2.3.4-2.41.i386.rpm
ode: [root@test ank]# rpm -Uvh glibc-2.3.4-2.41.i386.rpm
warning: glibc-2.3.4-2.41.i386.rpm: V3 DSA signature: NOKEY, key ID b38a8516
error: Failed dependencies:
glibc-common = 2.3.4-2.41 is needed by glibc-2.3.4-2.41.i386
glibc = 2.3.4-2.39 is needed by (installed) glibc-headers-2.3.4-2.39.i386
glibc = 2.3.4-2.39 is needed by (installed) glibc-devel-2.3.4-2.39.i386
glibc = 2.3.4-2.39 is needed by (installed) glibc-utils-2.3.4-2.39.i386

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved