Recently, because of the libpng upgrade fiasco that caused so many people to pull their hair out with .la file problems, the main Gentoo developers started having libtool compile things with '--as-needed', which is generally a good thing.

However, I just recently started setting up a new machine with KDE 3 from the kde-sunset overlay, and ran into this build issue with akode:

Making all in akodeplay
make[3]: Entering directory `/var/tmp/portage/media-libs/akode-2.0.2/work/akode-2.0.2/akode/akodeplay' if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../akode/lib -I../../akode/lib -I../../akode/lib -O2 -march=athlon64 -pipe -MT akodeplay.o -MD -MP -MF ".deps/akodeplay.Tpo" -c -o akodeplay.o akodeplay.cpp; \ then mv -f ".deps/akodeplay.Tpo" ".deps/akodeplay.Po"; else rm -f ".deps/akodeplay.Tpo"; exit 1; fi /bin/sh ../../libtool --silent --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -march=athlon64 -pipe -Wl,-O1 -Wl,--as-needed -o akodeplay akodeplay.o ../lib/libakode.la x86_64-pc-linux-gnu-g++: ../lib/.libs/libakode.so: No such file or directory
make[3]: *** [akodeplay] Error 1

This is from a fairly fresh and up-to-date install of Gentoo that uses GCC 4.4.3 as the system compiler, and it looks like libtool is doing the new '--as-needed' thing, though I don't know if that's related to the failure or not.

Has anyone else seen this? I don't know how to fix it, but it would be good if we can keep the overlay able to compile KDE on a fresh machine if needed. Let me know if you want me to try anything.

--
+ Brent A. Busby         + "We've all heard that a million monkeys
+ UNIX Systems Admin     +  banging on a million typewriters will
+ University of Chicago  +  eventually reproduce the entire works of
+ Physical Sciences Div. +  Shakespeare.  Now, thanks to the Internet,
+ James Franck Institute +  we know this is not true." -Robert Wilensky

Reply via email to