Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 56615

Summary: When ldd is performed to .a and .la files, an error occurs
Product: Gentoo Linux Reporter: Yuta SATOH (RETIRED) <nigoro>
Component: Current packagesAssignee: ppc64 architecture team <ppc64>
Status: VERIFIED FIXED    
Severity: normal    
Priority: Low    
Version: unspecified   
Hardware: PPC64   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for ldd

Description Yuta SATOH (RETIRED) gentoo-dev 2004-07-10 09:26:45 UTC
An error is displayed when ldd is performed to .a or .la file.

I rewrote and solved /usr/bin/ldd. 
A patch is appended. 


Reproducible: Always
Steps to Reproduce (example):
1.ldd /usr/lib/libc.a

Actual Results:  
An error is displayed.

[snip]
ldd: warning: you do not have execution permission for `/usr/lib/libc.a'
/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)
[snip]

Expected Results:
It is displayed errorless.

[snip]
ldd: warning: you do not have execution permission for `/usr/lib/libc.a'
        not a dynamic executable
[snip]
Comment 1 Yuta SATOH (RETIRED) gentoo-dev 2004-07-10 09:31:19 UTC
Created attachment 35119 [details, diff]
patch for ldd
Comment 2 Yuta SATOH (RETIRED) gentoo-dev 2004-07-10 09:59:16 UTC
Since it is the error which has occurred since /lib/ld.so.1 
does not exist, I also think that using Symbolic Link can be
solved.

example
ln -s /lib/ld64.so.1 /lib/ld.so.1
Comment 3 Tom Gall (RETIRED) gentoo-dev 2004-07-11 19:17:01 UTC
I agree
Comment 4 Tom Gall (RETIRED) gentoo-dev 2004-07-11 19:20:17 UTC
fixed in glibc 20040605
Comment 5 Tom Gall (RETIRED) gentoo-dev 2004-07-11 19:25:25 UTC
stick a fork in it