Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
~amd64: Emerging gst-plugins-base with glibc 2.15 [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lookmiraok
n00b
n00b


Joined: 10 Jun 2012
Posts: 10

PostPosted: Sun Jun 10, 2012 5:32 pm    Post subject: ~amd64: Emerging gst-plugins-base with glibc 2.15 [solved] Reply with quote

Hey all. I've been struggling with this problem for about a week now.

I've gotten a basic ~amd64 system running for a couple days now and would like to install the Gnome 3 desktop. Everything so far has emerged flawlessly, and a lot of the Gnome packages (as well as the system packages) link and run well.


It wasnt until emerge got to gst-plugins-base-0.10.35 that it started giving me the strangest linker errors:
Code:
/var/tmp/portage/media-libs/gst-plugins-base-0.10.35/work/gst-plugins-base-0.10.35/gst-libs/gst/tag/tmp-introspectAcx99b/.libs/GstTag-0.10: /usr/lib64/libc.so.
6: version `GLIBC_2.15' not found (required by /usr/lib64/libgstreamer-0.10.so.0)
/var/tmp/portage/media-libs/gst-plugins-base-0.10.35/work/gst-plugins-base-0.10.35/gst-libs/gst/tag/tmp-introspectAcx99b/.libs/GstTag-0.10: /usr/lib64/libc.so.
6: version `GLIBC_2.15' not found (required by /usr/lib64/libxml2.so.2)
/var/tmp/portage/media-libs/gst-plugins-base-0.10.35/work/gst-plugins-base-0.10.35/gst-libs/gst/tag/tmp-introspectAcx99b/.libs/GstTag-0.10: /usr/lib64/libc.so.
6: version `GLIBC_2.15' not found (required by /usr/lib64/libglib-2.0.so.0)


# emerge --search libc:
Code:
*  sys-libs/glibc
      Latest version available: 2.15-r2
      Latest version installed: 2.15-r2
      Size of files: 10,617 kB
      Homepage:      http://www.gnu.org/software/libc/libc.html
      Description:   GNU libc6 (also called glibc2) C library
      License:       LGPL-2


# strings /usr/lib64/libc.so.6 | grep GLIBC
Code:

GLIBC_2.2.5
GLIBC_2.2.6
GLIBC_2.3
GLIBC_2.3.2
GLIBC_2.3.3
GLIBC_2.3.4
GLIBC_2.4
GLIBC_2.5
GLIBC_2.6
GLIBC_2.7
GLIBC_2.8
GLIBC_2.9
GLIBC_2.10
GLIBC_2.11
GLIBC_2.12
GLIBC_2.13
GLIBC_2.14
GLIBC_PRIVATE


# cat package.mask
Code:

# These are masked due to incompatibility and/or conflicts with other packages.
=sys-devel/llvm-3.1
=dev-scheme/guile-2.0.0
=sys-fs/udisks-1.98.0


# cat package.use/*.use
Code:

www-client/links gpm directfb fbcon
app-editors/vim gpm
gnome-base/gnome -extras
app-editors/vim X
>=net-dns/avahi-0.6.30-r3 mdnsresponder-compat


When I emerge gst-plugins-base with -introspection, it emerges just fine, but then the rest of Gnome3 won't emerge. I've also tried masking gst-plugins-*-0.10.35 and using gst-plugins-*-0.10.32. With 0.10.32, everything compiles, but then Gnome dependency issues arise.

I'm really surprised that no matter how many times I emerge glibc, the GLIBC_2.15 symbol never appears in the shared object. Its the most recent version available in the tree...

Help?


Last edited by lookmiraok on Sun Jun 10, 2012 7:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 506

PostPosted: Sun Jun 10, 2012 6:59 pm    Post subject: Reply with quote

Quote:

# strings /usr/lib64/libc.so.6 | grep GLIBC


Isn't libc supposed to live under /lib[64] ? Delete/rename the one under /usr/lib64 and
try again...

EDIT: To expand on the above:
/usr/lib64/libc.so is a linker script on gentoo; /usr/lib64/libc.so.6 should not exist at all
Back to top
View user's profile Send private message
lookmiraok
n00b
n00b


Joined: 10 Jun 2012
Posts: 10

PostPosted: Sun Jun 10, 2012 7:16 pm    Post subject: Reply with quote

I'm a little confused now. Apparently I was looking at the libc in /lib64 as opposed to /usr/lib64.

# ls -l /lib64/ | grep libc
Code:

-rwxr-xr-x  1 root root 1745112 Jun 10 14:18 libc-2.15.so
...
lrwxrwxrwx  1 root root      12 Jun 10 14:19 libc.so.6 -> libc-2.15.so


# ls -l /usr/lib64/ | grep libc
Code:

-rwxr-xr-x  1 root root  1621200 May 31 04:29 libc-2.14.1.so
-rw-r--r--  1 root root  4599646 Jun 10 14:19 libc.a
...
-rwxr-xr-x  1 root root      253 Jun 10 14:18 libc.so
lrwxrwxrwx  1 root root       14 Jun  5 17:22 libc.so.6 -> libc-2.14.1.so
-rw-r--r--  1 root root     2760 Jun 10 14:19 libc_stubs.a


It looks like /lib64 and /usr/lib64 are using different versions of libc. :?
The linker error says the version in /usr/lib64 is not GLIC_2.15, which is correct.

EDIT:
I finally understand what you meant in your earlier post, roarinelk. I renamed it in /usr/lib and I am currently re-emerging.

EDITEDIT:
That fixed it! Does this mean I'm free to delete the libc.a and libc_stubs libraries? I wonder how those got into /usr/lib64.

TripleEdit:
Ah, the timestamps are completely different. Looks like I just have to delete the .so files. Thanks a bunch!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum