Package dev-java/sun-jdk-1.4.2.09 set one directory incorrectly in the environment variable ADDLDPATH="${JAVA_HOME}/jre/lib/i386/:${JAVA_HOME}/jre/lib/i386/native_threads/:${JAVA_HOME}/jre/lib/i386/classic/:${JAVA_HOME}/jre/ lib/i386/server/" in the file "/etc/env.d/java/20sun-jdk-1.4.2.09" . Reproducible: Always Steps to Reproduce: 1.emerge sun-jdk 2.ldconfig -v > /dev/null 3. Actual Results: You see the error "ldconfig: Can't stat /opt/sun-jdk-1.4.2.09/jre/lib/i386/classic: No such file or directory" in the output of ldconfig. Expected Results: "ldconfig -v" without errors. Change the line to ADDLDPATH="${JAVA_HOME}/jre/lib/i386/:${JAVA_HOME}/jre/lib/i386/native_threads/:${JAVA_HOME}/jre/lib/i386/client/:${JAVA_HOME}/jre/ lib/i386/server/" in the file "/etc/env.d/java/20sun-jdk-1.4.2.09" . The subdirectories in "${JAVA_HOME}/jre/lib/i386/" are "client" (not classic), "native_threads" and "server".
After changing "/etc/env.d/java/20sun-jdk-1.4.2.09" do "java-config -S sun-jdk-1.4.2.09" and "/usr/sbin/env-update && source /etc/profile".
This is also present in blackdown-jdk-1.4.2.03. We need to go through all the jres and jdks to find out everything affected. Having unexisting directories in there does should not case any problems in usage. pena uclibc # ldconfig -v > /dev/null ldconfig: Path `/usr/lib/gcc/i686-pc-linux-gnu/3.4.4' given more than once ldconfig: Can't stat /opt/blackdown-jdk-1.4.2.03/jre/lib/i386/classic: No such file or directory ldconfig: Can't stat /usr/games/lib: No such file or directory ldconfig: Cannot stat /usr/i686-pc-linux-gnu/lib/libopcodes-2.15.92.0.2.so: No such file or directory ldconfig: Cannot stat /usr/i686-pc-linux-gnu/lib/libbfd-2.15.92.0.2.so: No such file or directory
I fixed sun-jdk-1.4.2.10 and blackdown-jdk-1.4.2.03, so we should be all set now. Thanks for reporting.