[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] GLIBC 2.2.3
- Subject: RE: [cobalt-developers] GLIBC 2.2.3
- From: "Matthew Nuzum" <cobalt@xxxxxxxxxxxxx>
- Date: Wed Jun 12 07:03:01 2002
- Organization: Bearfruit.org
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> Well after a small unwanted vacation I have returned.
> Here's the problem -
> error: failed dependencies:
> libc.so.6(GLIBC_2.2) is needed by blah-24.1-1390
> libc.so.6(GLIBC_2.2.3) is needed by blah-24.1-1390
>
> and of course
>
> [root /root]# ls -l /lib/libc.so.6*
> lrwxrwxrwx 1 root root 13 Feb 6 00:25 /lib/libc.so.6
->
> libc-2.1.3.so
> Has anyone got a simple method for me to get my GLIBC up to the
> requirements?
> Thanx in Advance.
> Tony
Tony, so many people have gone down that road and often (or actually,
usually) it ends with an OS restore.
It is a matter of fact that the Cobalt Raq appliances' version of Linux
is based on a now antiquated RedHat 6.x. This is not disparaging in any
way, I loved RH 6 and I still do.
To the credit of the RedHat folks and the cobalt team for choosing them
as their foundation, your problem is easily solved without a GLIBC
update.
The trick is to use RPM packages targeted for the RH6.2 line. If those
are not available, then you can easily make one.
If you're not familiar with building software, it can sound a little
cumbersome, but RPM packages make it easy. Here is the process:
ssh (or telnet) into the server
Become root (su -)
Download the SRC rpm.
Build the SRC into a binary using this form:
Rpm --rebuild SRCFILE (WHERE SRCFILE is replaced by the name of the
package you downloaded)
When complete, you will have an RPM file in /usr/src/linux/redhat/RPMS/
If you have errors, it usually means you have unfulfilled dependencies.
The common reason for this is that you have the XYZ rpm but not the
XYZ-devel rpm installed. For example, freetype.1.1-2.rpm would need
freetype-devel.1.1-2.rpm if you wanted to build software that uses
freetype. In this case, www.rpmfind.net is your friend.
If you are familiar with building standard software on Linux (for
example using plain source) you can tweak the build process of your SRC
RPM by using the following steps:
Install the SRC rpm, it's files will be placed in
/usr/src/linux/redhat/SPEC as a spec file and /usr/src/linux/redhat/SRC
as 1 or more tar.gz/tar.bz2 files and possibly some patches.
Read through the SPEC file. You will see that it is similar to a shell
script in that it is a series of instructions that must be carried out
to build the sources and then package them together. You can easily
adjust this file so that it builds the package to your liking.
Build the SPEC file into an RPM by doing:
rpm -ba SPECS/specfile (where specfile is the specfile and you are in
the /usr/src/linux/redhat folder)
I hope this helps. I'm happy to help more if I can, or to clarify any
steps that need it.
Matthew Nuzum
www.bearfruit.org
cobalt@xxxxxxxxxxxxx