public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Geralt <usr.gentoo@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] A question about emerge --info
Date: Thu, 30 Oct 2008 11:37:15 +0100	[thread overview]
Message-ID: <fbdd0e50810300337s285f793ar3fc6b513ec85667a@mail.gmail.com> (raw)
In-Reply-To: <e38d12ff0810291902i6de9f496vda71215796a12776@mail.gmail.com>

Hi,
I don't know if this is clear by now, but apparently the glibc version
which is printed is the glibc version used to built python, because
>libcname,libcversion = libc_ver(sys.executable)
in this line the version is determined of sys.executable which is the
python interpreter used to run the script.

But I'm not sure if libc_ver is working correctly, since platform.py
says on my system "with-glibc2.0", but my current version is 2.6.1 and
I doubt that my python 2.5 was built with 2.0.

Some checking:
$ ldd $(which python)
        linux-gate.so.1 =>  (0xb7efb000)
        libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0xb7dcf000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7db7000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7db3000)
        libutil.so.1 => /lib/libutil.so.1 (0xb7daf000)
        libm.so.6 => /lib/libm.so.6 (0xb7d86000)
        libc.so.6 => /lib/libc.so.6 (0xb7c34000)
        /lib/ld-linux.so.2 (0xb7efc000)

and
$ ls -l /lib/libc.so.6
 lrwxrwxrwx 1 root root 13 2008-09-28 01:38 /lib/libc.so.6 -> libc-2.6.1.so
$ qfile /lib/libc.so.6
 sys-libs/glibc (/lib/libc.so.6)

$ eix -s glibc
[I] sys-libs/glibc
     Available versions:  (2.2)  [P]2.2.5-r10!s [P]2.3.2-r12!s
[P]2.3.5-r3!s [P]2.3.6-r4!s [P]2.3.6-r5!s 2.4-r4!s 2.5-r2!s 2.5-r3!s
2.5-r4!s **2.5.1!s ~2.6!s 2.6.1!s ~2.7-r2!s ~2.8_p20080602!s
        {build crosscompile_opts_headers-only debug erandom gd
glibc-compat20 glibc-omitfp hardened linuxthreads-tls multilib nls
nptl nptlonly pic profile selinux userlocales vanilla}
     Installed versions:  2.6.1(2.2)!s(01:38:10 AM
09/28/2008)(glibc-omitfp nls -crosscompile_opts_headers-only -debug
-gd -hardened -multilib -profile -selinux -vanilla)
     Homepage:            http://www.gnu.org/software/libc/libc.html
     Description:         GNU libc6 (also called glibc2) C library


As you can see 2.6.1 is installed and python is using this version of glibc.

That's why I'm wondering if it's not libc_ver which is buggy.





Geralt.



  reply	other threads:[~2008-10-30 10:37 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-29 22:53 [gentoo-user] A question about emerge --info Paul Hartman
2008-10-29 23:06 ` Andrey Vul
2008-10-29 23:09 ` Andrey Falko
2008-10-29 23:13   ` Andrey Vul
2008-10-29 23:23     ` Andrey Falko
2008-10-29 23:32       ` Andrey Vul
2008-10-29 23:41         ` Andrey Vul
2008-10-29 23:51           ` Andrey Vul
2008-10-29 23:57             ` Andrey Falko
2008-10-30  0:03               ` Andrey Vul
2008-10-30  0:15                 ` Andrey Falko
2008-10-30  0:26                   ` Andrey Vul
2008-10-30  2:02                   ` Andrey Vul
2008-10-30 10:37                     ` Geralt [this message]
2008-10-30  1:49                 ` Paul Hartman
2008-10-30  0:47             ` Joshua Murphy
2008-10-30  1:30               ` Andrey Vul
2008-10-30  1:31               ` Andrey Vul
2008-10-30 12:26               ` Albert Hopkins
2008-10-30 12:43                 ` Heiko Wundram
2008-10-30 13:44                   ` Albert Hopkins
2008-10-29 23:21   ` Paul Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fbdd0e50810300337s285f793ar3fc6b513ec85667a@mail.gmail.com \
    --to=usr.gentoo@googlemail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox