Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: xine-lib failure
Date: Wed, 23 Dec 2009 18:03:20
Message-Id: pan.2009.12.23.16.11.59@cox.net
In Reply to: [gentoo-amd64] xine-lib failure by Paul Stear
1 Paul Stear posted on Wed, 23 Dec 2009 13:55:40 +0000 as excerpted:
2
3 > I have moved to a ~amd64 setup but am having a few problems resolving
4 > some failures.
5 > media-libs/xine-lib-1.1.17 is failing because it can't find libgomp,
6 > this is the error:
7 > /bin/sed: can't read /usr/lib/../lib64/libgomp.la: No such file or
8 > directory libtool: link: `/usr/lib/../lib64/libgomp.la' is not a valid
9 > libtool archive
10 >
11 > slocate finds these:
12 > /usr/lib64/gcc/x86_64-pc-linux-gnu/4.4.2/32/libgomp.la
13 > /usr/lib64/gcc/x86_64-pc-linux-gnu/4.4.2/libgomp.la
14 > /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.4/32/libgomp.la
15 > /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.4/libgomp.la
16 >
17 > Do I just have a link that is wrong, or do I need to change some setup?
18 > any ideas?
19
20 For that one, try merging lafilefixer, then run it with the --justfixit
21 parameter. *.la files are a pain, causing nearly as many problems as
22 they solve. What lafilefixer does is fix la files that link to other la
23 files, so they link directly to the so files instead.
24
25 You will also probably want to run revdep-rebuild if you haven't yet
26 (running lafilefixer first will likely reduce the number of rebuilds you
27 need), and after doing an emerge --deep --newuse @world, you'll want to
28 do an emerge --ask --depclean, being sure to check for sanity before you
29 let it run, then another revdep-rebuild if the depclean removed anything,
30 just to be sure.
31
32 FWIW, if you don't run these often, you'll likely have quite a list of
33 rebuilds. But if you run them routinely, after every emerge --update --
34 deep --newuse @world (and yes, I always use deep newuse), it'll be much
35 easier and you'll have far less problems as the system will be kept in a
36 far cleaner state routinely.
37
38 --
39 Duncan - List replies preferred. No HTML msgs.
40 "Every nonfree program has a lord, a master --
41 and if you use the program, he is your master." Richard Stallman