Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.development.apps > #439
| From | Richard Kettlewell <rjk@greenend.org.uk> |
|---|---|
| Newsgroups | comp.os.linux.development.apps |
| Subject | Re: libc versioning question |
| Date | 2012-02-28 09:24 +0000 |
| Organization | Anjou |
| Message-ID | <87fwdvb99q.fsf@araminta.anjou.terraraq.org.uk> (permalink) |
| References | <jieghq$c37$1@dont-email.me> <jift39$n22$1@dont-email.me> <87sjhwdzi2.fsf@sapphire.mobileactivedefense.com> <jige65$uc4$1@dont-email.me> |
Lusotec <nomail@nomail.not> writes:
> Rainer Weikusat wrote:
>> Lusotec writes:
>>> Cat22 wrote:
>>>> I have a (precompiled) program that requires libc 2.11 but i only
>>>> have libc 2.10. Is it practical or even possible to put the 2.11
>>>> files in some directory then run the program using the
>>>> LD_LIBRARY_PATH environment variable so it would use the 2.11
>>>> versions? I dont think you can just upgrade libc and libstdc++ on
>>>> my system without wreaking havoc can you? I do some C programming
>>>> from time to to time, but I have not had to really ever consider
>>>> the versions of these libs in the past so I just dont know what can
>>>> or cant be done there.
>>>
>>> Upgrading libc 2.10 to libc 2.11 (a minor version upgrade) should
>>> not cause any issues.
>>
>> The problem with this is that the outcome of such an experiment isn't
>> known until after it was conducted and it is not usually reversible.
>
> If Cat22 only points the symlink /lib64/libc.so.6 to the new library, it
> should be easy to reverse.
...using ln, presumably.
Which is linked against libc.
Which is broken, in the hypothetical where it needs reversing.
So make sure you have rescue media handy. Also, if you go this route
you may need to adjust a lot more than libc:
$ dpkg -L libc6|grep -cF .so
292
Doesn't Mandriva have any way to upgrade itself to a more recent version
without throwing away unreasonably much of your local configuration? I
don't know the first thing about Mandriva but in the Debian world this
was essentially a solved problem 15 years ago.
--
http://www.greenend.org.uk/rjk/
Back to comp.os.linux.development.apps | Previous | Next — Previous in thread | Next in thread | Find similar
libc versioning question Cat22 <cat22@invalid.org> - 2012-02-26 15:51 -0800
Re: libc versioning question Lusotec <nomail@nomail.not> - 2012-02-27 12:31 +0000
Re: libc versioning question Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-02-27 16:15 +0000
Re: libc versioning question Lusotec <nomail@nomail.not> - 2012-02-27 17:23 +0000
Re: libc versioning question Cat22 <cat22@invalid.org> - 2012-02-28 00:49 -0800
Re: libc versioning question Richard Kettlewell <rjk@greenend.org.uk> - 2012-02-28 09:24 +0000
Re: libc versioning question Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-02-28 14:47 +0000
Re: libc versioning question John Reiser <jreiserfl@comcast.net> - 2012-02-28 08:06 -0800
csiph-web