When trying to "emerge kde-base/kdebase" there is a compile error when kdeadmin is reached.Error: libtool: link: warning: library '/usr/lib/libshadow.la' was moved. libtool: link: warning: library '/usr/lib/libshadow.la' was moved. libtool: link: cannot find the library '/lib/libmisc.la' and then exits with: kde_src_compile, line 7, exitcode 2 From what I understand there is a problem with shadow and kde. However, I do not know if its kde or shadow or possibly both are at fault. It has also been mentioned that one of these packages has been recently updated and maybe the sourc of this error.
This happens here as well, but didn't 2 days ago (when I last remerged kdeadmin), I've done emerge update --world since then which apparently updated my shadow.This seems like a definite shadow problem. I failed to figure out what is going on with the versioning there (is 4.0.1 newer or older than the timestamp versions?). The timestamp ones are from year 2000 so 4.0.1 is probably newer but emerge --pretend says it'll remerge the timstamped ones (of course, since 20001016 > 4).I have both emerged (I did emerge update --world yesterday), and according to CONTENTS shadow-20001016 installed /usr/lib/libshadow.{so.0.0.0,la,a} while shadow-4.0.1-r1 only installed libshadow.{a,la}. So I've .la from one package and .so from another which may be the source of the problem.HTH you to figure this out. I don't have time to fix anything but strictly KDE issues :-( - there are too many of those anyway.
A quick fix for this is to ln -s /usr/lib/libmisc.la /lib/libmisc.la.
Dan, That portage bug is now fixed (upgrade to 1.8.5-r5 should do it). Libshadow was updated and the most recent version is 4.0.1; they changed the versioning scheme. Please patch KDE to look for "/usr/lib/libmisc.la" instead of "/lib/libmisc.la"... we don't keep static libs in /lib for good reason (not needed at boot time)
Hm, now I'm really confused: 1. I've remerged libshadow 4.0.1-r1 and unmerged the timestamp version. Now I have /usr/lib/libshadow.a,la but no .so. My previously compiled kuser (the part of kdeadmin that fails linking) used libshadow.so.0, so now it's not working. Aren't we supposed to have a libshadow.so? 2. /usr/lib/libshadow.la contains this line: # Libraries that this one depends upon. dependency_libs=' -lcrypt /lib/libmisc.la -lcrack' --- but libmisc.* doesn't live in /lib, it lives in /usr/lib. Which is why the kuser compile fails right now afaik. This still seems like a shadow problem, so I'm ccing to you - hope you can help me with this.
Yes, this does look like a shadow problem! I"ll try to get it fixed. Thanks!
I've done some additional research, and it looks like no packages should be depending on libshadow now that we have glibc-2 (glibc-2 includes shadow support). Danarmak, you may want to look into eliminating those libshadow deps. Maybe if the library isn't there then kde doesn't try to link against it? Debian has no libshadow, so we know this is possible.
I reverted back to our old libshadow, so this problem should go away. I'll add another bug for removing libshadow deps from our other ebuilds, since it's really a different issue. Erazor, ceed: do an emerge update in an hour to fix this. rsync is down right now, unfortunately :/
ok, I remerged the 'tmiestamp' shadow and removed the 4.0.1 one. Both my existing kuser and the kdeadmin emerge now work, so the fix/resolution is confirmed.
I have this problem on my Gentoo 1.0 build. Hmmm.
Well, I don't, for what it's worth. I've shadow-4.0.2-r1 and my libshadow.la is ok.
This was a bug in shadow-4.0.2. shadow-4.0.2-r1 should fix this. Please update if you do not have shadow-4.0.2-r1.
Hmm, should have resolved a long time ago.