1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hi Hendrik, |
5 |
|
6 |
Hendrik Boom wrote: |
7 |
> Well, with bare X up, I decided it was time to install a window manager. |
8 |
> I picked xfce4 and icewm. |
9 |
> |
10 |
> I emerged xfce4, and after a lot of packages, it finally told me: |
11 |
> |
12 |
> reemerge x11-libs/cairo with the X USE flag set |
13 |
> |
14 |
> Well, I emerged icewm with no problems, then went back to xfce4 by |
15 |
> changing my use flags and asking it to reemerge everything that involved a |
16 |
> use-flag change. My new use flags were set in /etc/make.conf as |
17 |
> |
18 |
> USE="cjk unicode X xprint" |
19 |
> |
20 |
> This choked, on x11-apps/xclock-1.0.2. |
21 |
> |
22 |
> The key messages seem to be: |
23 |
> |
24 |
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so, not found (try using -rpath or -rpath-link) |
25 |
> /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libfontconfig.so: undefined reference to `XML_SetElementHandler' |
26 |
> |
27 |
> Could it be that some package failed to set some key dependency, and that |
28 |
> as a result libexpat.so.0 had not been created? I could of course try to |
29 |
> find which package should have created libexpat.so.0, or go on emerging |
30 |
> and try to skip xclock (if I knew how to do that), but I thought it might |
31 |
> be good to report this problem, and ask advice, in case |
32 |
> (a) one of you could advise me how best to get past this point, or |
33 |
> (b) it really is a problem in gentoo, and someone might want to fix it. |
34 |
|
35 |
You probably pulled an update from dev-libs/expat while you're system |
36 |
adopted the new use flags (if you do "emerge --newuse world" emerge will |
37 |
actually perform "emerge --newuse --update world"). |
38 |
|
39 |
The expat update deleted /usr/lib/libexpat.so.0 and replaced it with |
40 |
/usr/lib/libexpat.so.1. All programs that where linked against |
41 |
libexpat.so.0 won't therefore work any longer. |
42 |
|
43 |
You need to run "revdep-rebuild" (from app-portage/gentoolkit) in order |
44 |
to fix the problem. Revdep-rebuild will search for all programs that |
45 |
link against the old library and recompile them (so that they link |
46 |
against the new version of expat). Try to emerge xfce4 after |
47 |
revdep-rebuild finished and your problem should be gone. |
48 |
|
49 |
Regards, |
50 |
Lothar |
51 |
|
52 |
-----BEGIN PGP SIGNATURE----- |
53 |
Version: GnuPG v1.4.7 (GNU/Linux) |
54 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
55 |
|
56 |
iD8DBQFG3He2OlpYSeF9JmYRAjpQAJ0fMin5zc419fUMY8Mok1581ecq6QCghfTo |
57 |
W3IwK7UkFLvA9F6IN+9InKI= |
58 |
=CaG6 |
59 |
-----END PGP SIGNATURE----- |
60 |
-- |
61 |
gentoo-user@g.o mailing list |