[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
where is a safe place to install glibc??
From: |
John Lumby |
Subject: |
where is a safe place to install glibc?? |
Date: |
Wed, 27 Aug 2003 10:27:04 -0400 |
n RedHat 7.3 with usual libc and glibc 2.2.5 installed, and want to upgrade
to glibc 2.3.2. I am trying to understand what I should put in the
../glibc-2.3.2/configure --prefix=???????
so that the system continues to work but new applications can use the new
glibc. I don't care whether existing apps use 2.2.5 or 2.3.2 and I don't
mind
having to specify specify libpath info when I link apps if need be.
According to the FAQ - which says:
"The default is /usr/local, because this is safe",
and based on experience with other gnu programs, I tried omitting --prefix
in
order to let it default into /usr/local,
but configure told me:
*** On GNU/Linux systems the GNU C Library should not be installed into
*** /usr/local since this might make your system totally unusable.
*** We strongly advise to use a different prefix. For details read the FAQ.
*** If you really mean to do this, run configure again using the extra
*** parameter `--disable-sanity-checks'.
Well, I do what the FAQ says, and the configure tells me don't do that, read
the FAQ!
I don't want to specify either /lib (where libc.so.6 lives, presumably the
glibc 2.2.5) or /lib (where some ancestral libc.so lives). I ended up
creating some entirely new dir, ../glibc-2.3.2/configure
--prefix=/usr/local/glibc2
which I'm sure is safe but I'm not sure how to put this new glibc into
service. Should I follow the approach outlined in the Glibc2-HOWTO,
chapter 4. Installing as a test library., e.g. do I need to :
"1. Create a link from the new ld.so to /lib/ld-linux.so.2:
ln -s /usr/i486-linuxglibc2/lib/ld-linux.so.2 /lib/ld-linux.so.2
"?
Surely I must be doing the most common glibc install of them all, a simple
upgrade - yet it seems really complex - would appreciate if somone who has
been this way before can help.
John
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
- where is a safe place to install glibc??,
John Lumby <=