This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Problem With Local Installation of GLibC 2.5.1
- From: Petr Baudis <pasky at suse dot cz>
- To: Amit Kumar Dhar <akdhar at cmi dot ac dot in>
- Cc: libc-help at sourceware dot org
- Date: Mon, 14 Sep 2009 02:04:33 +0200
- Subject: Re: Problem With Local Installation of GLibC 2.5.1
- References: <3639d0630909131521v7bb6411cxb7af6a06b3e9f2b5@mail.gmail.com>
Hi!
On Mon, Sep 14, 2009 at 03:51:59AM +0530, Amit Kumar Dhar wrote:
> I, am using a shared Debian 2.14.3 system, as a non-privileged user. I
I wonder what kind of version number 2.14.3 is, but it doesn't really
seem to fit anything (certainly not Debian's versioning scheme).
> installed GlibC 2.5.1 locally in my home folder from source issuing
> the following commands-
> ./configure --prefix=/path/to/my/local/
> library/directory/
> make
> make install
>
> Though the installation phase went on quietly, with some "clock skew"
> warnings, but after "make install" it showed an error, complaining
> that it cannot write the configuration file. After that many of my
> applications are giving segmentation fault.
> Can anyone help me regarding how to uninstall GlibC 2.5.1 and then
> reinstall it locally correctly?
Generally, that isn't really supported; one obvious pitfall is that
you need to make sure all programs using the new glibc are executed
not directly, but using ld-linux from the new glibc, otherwise it's
likely everything will just segfault right away; use something like
/path/to/my/local/lib/ld-linux.so.2 your_application
but if the application calls other binaries, you still get in trouble.
--
Petr "Pasky" Baudis
A lot of people have my books on their bookshelves.
That's the problem, they need to read them. -- Don Knuth