Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56469 - I compiled media-libs/jpeg, but the .so files are not created
Summary: I compiled media-libs/jpeg, but the .so files are not created
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC64 Linux
: High normal (vote)
Assignee: ppc64 architecture team
Depends on:
Reported: 2004-07-08 10:30 UTC by Yuta SATOH (RETIRED)
Modified: 2004-07-13 20:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH (RETIRED) gentoo-dev 2004-07-08 10:30:03 UTC
.so files ( , and are created in x86 and ppc.
However, .so files are not created in PPC64.
Only libjpeg.a and 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 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/ would exist and operation is branched.
but, This file does not exist in PPC64. ( 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 '' ltconfig

2) Symbolic Link is used.
   ln -s /lib/ /lib/


#ldd /usr/lib/
/usr/bin/ldd: line 1: /lib/ No such file or directory
ldd: /lib/ exited with unknown exit code (127)

Thank you.
Comment 1 Yuta SATOH (RETIRED) gentoo-dev 2004-07-08 10:34:48 UTC
I'm sorry.
Reassign to ppc64 architecture team.
Comment 2 Yuta SATOH (RETIRED) gentoo-dev 2004-07-08 10:35:40 UTC
There is another package with the same problem.
They are most packages by which ltconfig is contained in the source file.

* x11-libs/gtk+-1.2.10-r11
Comment 3 Yuta SATOH (RETIRED) gentoo-dev 2004-07-08 10:36:26 UTC
Especially I think that this portion in ltconfig is a problem.

  library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major $'
  finish_cmds='PATH="$PATH:/sbin" ldconfig -n $libdir'

  if test -f /lib/; then
    # Only the GNU supports shared libraries on MkLinux.
    case "$host_cpu" in
    powerpc*) dynamic_linker=no ;;
    *) dynamic_linker='Linux' ;;
Comment 4 Yuta SATOH (RETIRED) gentoo-dev 2004-07-10 09:28:47 UTC
I'm sorry.

The problem about ldd in misc had another reason.
Please see bug #56615.
Comment 5 Tom Gall (RETIRED) gentoo-dev 2004-07-11 19:33:40 UTC
with the fix to bug #56615, this class of errors appears to be fixed.
Comment 6 Tom Gall (RETIRED) gentoo-dev 2004-07-11 19:34:15 UTC
stick a fork in it