.so files (libjpeg.so , libjpeg.so.62 and libjpeg.so.62.0.0) are created in x86 and ppc. However, .so files are not created in PPC64. Only libjpeg.a and libjpeg.la file are created. Moreover, emerge is successful. Reproducible: Always Steps to Reproduce: 1. emerge media-libs/jpeg 2. ls /usr/lib/libjpeg* Actual Results: Only libjpeg.a and libjpeg.la are displayed. Expected Results: .so files should be created and displayed. I think that a problem is in ltconfig contained in source. because it confirmed whether /lib/ld.so.1 would exist and operation is branched. but, This file does not exist in PPC64. (ld64.so.1 exists instead.) The example of solution 1) A code is added to an ebuild file. (to inside of src_unpack) use ppc64 && cd ${S}; sed -i 's:ld.so:ld64.so:g' ltconfig 2) Symbolic Link is used. ln -s /lib/ld64.so.1 /lib/ld.so.1 misc #ldd /usr/lib/libjpeg.la /usr/bin/ldd: line 1: /lib/ld.so.1: No such file or directory ldd: /lib/ld.so.1 exited with unknown exit code (127) Thank you.
I'm sorry. Reassign to ppc64 architecture team.
There is another package with the same problem. They are most packages by which ltconfig is contained in the source file. example * x11-libs/gtk+-1.2.10-r11
Especially I think that this portion in ltconfig is a problem. linux-gnu*) version_type=linux library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major $libname.so' soname_spec='${libname}${release}.so.$major' finish_cmds='PATH="$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH if test -f /lib/ld.so.1; then dynamic_linker='GNU ld.so' else # Only the GNU ld.so supports shared libraries on MkLinux. case "$host_cpu" in powerpc*) dynamic_linker=no ;; *) dynamic_linker='Linux ld.so' ;; esac fi ;;
I'm sorry. The problem about ldd in misc had another reason. Please see bug #56615.
with the fix to bug #56615, this class of errors appears to be fixed.
stick a fork in it