LWN.net Logo

Changes in glibc development

Changes in glibc development

Posted Mar 29, 2012 17:14 UTC (Thu) by khim (subscriber, #9252)
In reply to: Changes in glibc development by Cyberax
Parent article: Changes in glibc development

I can't make a simple executable on my Ubuntu 12.04 that can be run on RHEL6 because of incompatible glibc.

Yes, you can. Install SDK, target LSB 4.0, problem solved. You can even target LSB 3.1 and support RHEL5 this way.

And yes, if you'll compile program this way your binary will use system-installed version of glibc, it'll not require any LSB packages.

LSB is surprisingly robust tool and it solves things like GLibC lack of forward compatibility nicely. The problem with it lies in the fact that it does not give you usable environment: libraries are added slowly and some essential ones are still missing. But this is not a GLibC problem.


(Log in to post comments)

Changes in glibc development

Posted Mar 29, 2012 18:24 UTC (Thu) by foom (subscriber, #14868) [Link]

Another the thing you can do is install an Ubuntu 10.04 chroot on your Ubuntu 12.04 system.

In fact, there's so many things you can do that it's hard to even know where to start enumerating them. :)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds