When built on amd64 with the theora USE-flag, capseo needs a 32-bit copy of libtheora.so: /bin/sh ../libtool --mode=link g++ -ansi -pedantic -Wall -Wno-long-long -Wno-unknown-pragmas -DVERSION="\"0.2.0-dev\"" -DTHEORA=1 -march=athlon64 -msse3 -pipe -fomit-frame-pointer -O2 -DNDEBUG=1 -o cpsplay ../src/libcapseo.la -lGL cpsplay.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../libtheora.so when searching for -ltheora /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../libtheora.a when searching for -ltheora /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libtheora.so when searching for -ltheora /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libtheora.a when searching for -ltheora /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -ltheora collect2: ld returned 1 exit status make[2]: *** [cpsrecode] Error 1 However, the library is not needed at runtime: libtheora is only used by the cpsrecode tool, which is built for both 32-bit and 64-bit, but only the 64-bit version is installed. The best solution would be to prevent the tools from being built for 32-bit in the first place, but that would require messing with autotools, so it suffices not to build the 32-bit version with theora support.
Created attachment 136724 [details, diff] ebuild patch
Created attachment 136878 [details, diff] better patch Better patch - use multilib.eclass functionality, and disable theora explicitly instead of relying on that being the default.
thank you very much. i've added your advice to capseo-0.3.0_pre200712251-r2 :) Regards, Christian Parpart.