Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56615 - When ldd is performed to .a and .la files, an error occurs
Summary: When ldd is performed to .a and .la files, an error occurs
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 All
: Low normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-10 09:26 UTC by Yuta SATOH (RETIRED)
Modified: 2004-07-13 20:21 UTC (History)
0 users

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


Attachments
patch for ldd (ldd.patch,274 bytes, patch)
2004-07-10 09:31 UTC, Yuta SATOH (RETIRED)
Details | Diff

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-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