Ladna Posted September 3, 2011 Hey Linux users! I'm not sure if this goes in the Source Ports forum, but it is kinda technical. Mods feel free to move around and yell at me :). I would like to know:Linux distro name & version glibc version You can check glibc version by running: /lib/libc.so.6It looks like a library, but will also print a line like: GNU C Library stable release version 2.5, by Roland McGrath et al. So that's 2.5 there. The reason I want this stuff is so that I can try & get away with distributing 1 static Linux binary instead of 17. Thanks in advance. 0 Share this post Link to post
exp(x) Posted September 3, 2011 Debian Wheezy (Testing) - AMD64 GNU C Library (Debian EGLIBC 2.13-16) stable release version 2.13 EDIT: also, I had to run either /lib32/libc.so.6 or /lib/x86_64-linux-gnu/libc.so.6 because I don't have /lib/libc.so.6 0 Share this post Link to post
sirjuddington Posted September 3, 2011 Kubuntu 11.04 64bit GNU C Library (Ubuntu EGLIBC 2.13-0ubuntu13) stable release version 2.13 0 Share this post Link to post
Ladna Posted September 3, 2011 Thanks guys. For fairness' sake, here's my info: Slackware 13.1 32-bit GNU C Library stable release version 2.11.1, by Roland McGrath et al. And if you can believe it, that 2.5 is from CentOS 5.6! That is, by any definition, EXTREMELY old. Big WTF there. Well, probably it's to preserve binary compatibility throughout the (ancient) 5 series. But still.... And good call exp(x), I forgot about the lib32 stuff in Debian. 0 Share this post Link to post
chungy Posted September 3, 2011 Unless he's changed recently, last time I heard, exp(x) was actually using Debian/i386 with the amd64 kernel (so 64-bit kernel with a 32-bit userland).. my regular Debian/amd64 system just has a plain /lib/libc.so.6 As for myself, I actually have four distros installed that I can give you info for :P Arch Linux x86_64 (it's rolling release, no version number) GNU C Library stable release version 2.14 Debian 6.0, Squeeze, x86_64 GNU C Library (Debian EGLIBC 2.11.2-10) stable release version 2.11.2 Fedora 15 x86_64 GNU C Library stable release version 2.14 CentOS 6 x86_64 GNU C Library stable release version 2.12 For both Fedora and CentOS, I had to use /lib64 since /lib is strictly for 32-bit libraries (even on 64-bit). 0 Share this post Link to post
ducon Posted September 3, 2011 > cat /etc/debian_version wheezy/sid > uname -a Linux ubuntu.home 2.6.38-2-686-bigmem #1 SMP Sun May 8 15:43:39 UTC 2011 i686 GNU/Linux > LANG="C";/lib/libc.so.5 Segmentation fault > /lib/i386-linux-gnu/libc-2.13.so GNU C Library (Debian EGLIBC 2.13-10) stable release version 2.13, by Roland McGrath et al. 0 Share this post Link to post
Maes Posted September 3, 2011 For what it's worth: GNU C Library (Ubuntu EGLIBC 2.11.1-0ubuntu7.8) stable release version 2.11.1, by Roland McGrath et al. but read on: Ladna said:The reason I want this stuff is so that I can try & get away with distributing 1 static Linux binary instead of 17. I take that you mean making a single binary, that will run on everything marked "Linux for Intel and Compatibles"? As much as I'd like to see that getting done myself (for an application more complex than "Hello World") this is a kind of Columbus Egg for the Linux world. From my experience, at best you'll get a "yeah, maybe, but" kind of civil response. More probably, just mentioning "cross-distro Linux binary compatibility" will open several cans of worms, start flaming Holy Wars, cause a bazillion crackpot philosophers and wannabe Linux-intellectuals to mention things like the LSB, the evils of static linking, how this is "not the proper way to do things on Linux", "it depends on the repo maintainers", "Stallman will sodomize your ass if you don't distribute from source" etc. etc. It's kinda like a woman asking you "Do I look fat?", only worse. And good luck with that ;-) [flame shields on] ETA to impact in 3...2...1.... 0 Share this post Link to post
exp(x) Posted September 3, 2011 chungy said:Unless he's changed recently, last time I heard, exp(x) was actually using Debian/i386 with the amd64 kernel (so 64-bit kernel with a 32-bit userland).. my regular Debian/amd64 system just has a plain /lib/libc.so.6 I changed recently, and the reason /lib/libc.so.6 is gone has to do with this: http://wiki.debian.org/Multiarch 0 Share this post Link to post
chungy Posted September 3, 2011 Ah cool, I didn't know multiarch is finally coming out in Wheezy, that's awesome. 0 Share this post Link to post
cbronson Posted September 3, 2011 Scientific Linux 6 64bit GNU C Library stable release version 2.12 Debian 6 Squeeze 32bit GNU C Library (Debian EGLIBC 2.11.2-10) stable release version 2.11.2 0 Share this post Link to post
tm512 Posted September 3, 2011 Arch Linux (64-bit) Kernel 3.0.3 GNU C Library stable release version 2.14, by Roland McGrath et al. 0 Share this post Link to post
E.J. Posted September 3, 2011 Arch Linux x86_64 Yeah it's been listed twice already, but... here the full output in case you find it useful. GNU C Library stable release version 2.14, by Roland McGrath et al. Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.6.1. Compiled on a Linux 3.0.1 system on 2011-08-14. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B libc ABIs: UNIQUE IFUNC For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>. 0 Share this post Link to post
Ladna Posted September 6, 2011 Looks like 2.5 is as far back as I have to go. Thanks a lot guys :) . 0 Share this post Link to post
Reiken Posted September 7, 2011 A little late, but: Ubuntu 10.04 (lucid) GNU C Library (Ubuntu EGLIBC 2.11.1-0ubuntu7.8) stable release version 2.11.1, by Roland McGrath et al. Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.4.3. Compiled on a Linux >>2.6.24-27-server<< system on 2011-01-21. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B For bug reporting instructions, please see: <http://www.debian.org/Bugs/>. 0 Share this post Link to post
RestlessRodent Posted September 7, 2011 Debian Squeeze x86_64 Linux stevenversatile 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 x86_64 GNU/Linux GNU C Library (Debian EGLIBC 2.11.2-10) stable release version 2.11.2, by Roland McGrath et al. Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.4.5. Compiled on a Linux 2.6.32 system on 2011-01-23. Available extensions: crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B For bug reporting instructions, please see: <http://www.debian.org/Bugs/>. Please don't hack me now. 0 Share this post Link to post
neubejiita Posted September 21, 2011 Sabayon gentoo Linux 2.4. Linux sabayon 2.6.35-sabayon #1 SMP Sun Sep 19 16:45:08 UTC 2010 i686 Intel(R) Core(TM) i3 CPU 530 @ 2.93GHz GenuineIntel GNU/Linux Glibc: GNU C Library stable release version 2.10.1, by Roland McGrath et al. Gentoo FTW. 0 Share this post Link to post
wesleyjohnson Posted September 25, 2011 Slackware Linux 2.4.31 glibc 2.3.5 glib 1.2.10 GNU C 3.3.6 Slackware Linux 2.6.33 glibc 2.11.1 glib 1.2.10 GNU C 4.4.4 0 Share this post Link to post
Super Jamie Posted September 27, 2011 Ubuntu 11.04 GNU C Library (Ubuntu EGLIBC 2.13-0ubuntu13) stable release version 2.13, by Roland McGrath et al. I don't mind having to compile from source, as long as your build scripts actually work. prboom-plus only distributes source and there's no big problem updating that every time Andrey releases a new version. I'd assume most Linux users are at least capable of typing "./configure" and "make". 0 Share this post Link to post
deathz0r Posted September 28, 2011 Ladna said:Yeah of course different CPU architectures will need separate binaries. I don't have a way to build SPARC or Itanium binaries, but I don't think anyone would try to play competitively on one of those machines anyway. ARM I can easily do (hey Ladna... is that a sexy Nokia N900 you have there....?1?!). I'll create an official OpenPandora port! (on that note I should fix up the compiled binaries for prboom-plus I made and release it to the OP repository, along with Odamex 0.5.4 when I finally get around to compiling the launcher) I will get uname and libc details from my Pandora when I get home 0 Share this post Link to post
deathz0r Posted September 28, 2011 From my OpenPandora running "Zaxxon Hotfix 5" (which is the official Angstrom-based distro) nintendo-3ds:~$ uname -a Linux nintendo-3ds 2.6.27.46-omap1 #1 Wed Feb 23 01:09:42 CET 2011 armv7l GNU/Linux nintendo-3ds:~$ /lib/libc.so.6 GNU C Library stable release version 2.9, by Roland McGrath et al. 0 Share this post Link to post
DoomGater Posted September 30, 2011 nothing exciting from my side: GNU C Library (Ubuntu EGLIBC 2.11.1-0ubuntu7.8) stable release version 2.11.1 running on Ubuntu 10.04 0 Share this post Link to post