Reaper Grimm
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Linux Poll
 
Author
All times are GMT. The time now is 04:52. Post New Thread    Post A Reply
Ladna
Junior Member


Posts: 115
Registered: 04-10


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:

code:
/lib/libc.so.6


It looks like a library, but will also print a line like:

code:
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.

Old Post 09-03-11 02:14 #
Ladna is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
exp(x)


Posts: 2282
Registered: 04-04


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

Old Post 09-03-11 02:59 #
exp(x) is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
sirjuddington
Slade doesn't mean what it used to


Posts: 1363
Registered: 05-00


Kubuntu 11.04 64bit
GNU C Library (Ubuntu EGLIBC 2.13-0ubuntu13) stable release version 2.13

Old Post 09-03-11 04:02 #
sirjuddington is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ladna
Junior Member


Posts: 115
Registered: 04-10


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.

Old Post 09-03-11 04:46 #
Ladna is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
chungy
Doomworld is so about bullshit excuses


Posts: 1458
Registered: 06-05


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).

Old Post 09-03-11 07:55 #
chungy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
ducon
Régulier du Forum


Posts: 1089
Registered: 12-03


code:
> cat /etc/debian_version wheezy/sid

code:
> uname -a Linux ubuntu.home 2.6.38-2-686-bigmem #1 SMP Sun May 8 15:43:39 UTC 2011 i686 GNU/Linux

code:
> LANG="C";/lib/libc.so.5 Segmentation fault

code:
> /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.

__________________
A shell, an imp.

Old Post 09-03-11 08:16 #
ducon is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 8664
Registered: 07-06


For what it's worth:

code:
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....

Old Post 09-03-11 15:27 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
exp(x)


Posts: 2282
Registered: 04-04



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

Last edited by exp(x) on 09-03-11 at 15:47

Old Post 09-03-11 15:39 #
exp(x) is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
chungy
Doomworld is so about bullshit excuses


Posts: 1458
Registered: 06-05


Ah cool, I didn't know multiarch is finally coming out in Wheezy, that's awesome.

Old Post 09-03-11 17:02 #
chungy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
cbronson
Junior Member


Posts: 157
Registered: 11-10


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

Old Post 09-03-11 20:21 #
cbronson is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
tm512
Green Marine


Posts: 37
Registered: 09-10


Arch Linux (64-bit)
Kernel 3.0.3
GNU C Library stable release version 2.14, by Roland McGrath et al.

Old Post 09-03-11 21:11 #
tm512 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
E.J.
Junior Member


Posts: 187
Registered: 01-10


Arch Linux x86_64

Yeah it's been listed twice already, but... here the full output in case you find it useful.

code:
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>.

Old Post 09-03-11 23:38 #
E.J. is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Ladna
Junior Member


Posts: 115
Registered: 04-10


Looks like 2.5 is as far back as I have to go. Thanks a lot guys :) .

Old Post 09-06-11 21:59 #
Ladna is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Reiken
Green Marine


Posts: 34
Registered: 05-10


A little late, but:

Ubuntu 10.04 (lucid)

code:
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/>.

Old Post 09-07-11 06:55 #
Reiken is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
GhostlyDeath
Forum Retard


Posts: 829
Registered: 08-05


Debian Squeeze x86_64

code:
Linux stevenversatile 2.6.39-2-amd64 #1 SMP Tue Jul 5 02:51:22 UTC 2011 x86_64 GNU/Linux


code:
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.

Old Post 09-07-11 07:22 #
GhostlyDeath is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
neubejiita
Member


Posts: 426
Registered: 02-09


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.

Old Post 09-21-11 13:39 #
neubejiita is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
wesleyjohnson
Member


Posts: 486
Registered: 04-09


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

Old Post 09-25-11 22:32 #
wesleyjohnson is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Super Jamie
Forum Staple


Posts: 2670
Registered: 03-08


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".

Old Post 09-27-11 07:49 #
Super Jamie is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
deathz0r
Bitch fuckin' stole me chaingun!


Posts: 4071
Registered: 01-01



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

Old Post 09-28-11 04:38 #
deathz0r is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
deathz0r
Bitch fuckin' stole me chaingun!


Posts: 4071
Registered: 01-01


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.

Old Post 09-28-11 10:01 #
deathz0r is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
DoomGater
Junior Member


Posts: 104
Registered: 08-04


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

Old Post 09-30-11 07:52 #
DoomGater is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 04:52. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Source Ports > Linux Poll

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory