bin/101765: ldd is unable to read ELF header?
Nico Schottelius
chdscni9 at ddba034.netstream.ch
Thu Aug 10 16:50:18 UTC 2006
>Number: 101765
>Category: bin
>Synopsis: ldd is unable to read ELF header?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 10 16:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Nico Schottelius
>Release: FreeBSD 5.5-RELEASE amd64
>Organization:
Netstream AG
>Environment:
System: FreeBSD ddba034.netstream.ch 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Fri Jul 7 13:21:21 CEST 2006 root at adsltvmaster.netstream.ch:/usr/src/sys/amd64/compile/NSKERNEL amd64
It is a AMD64 system. Perhaps this makes a difference.
>Description:
ldd is not able to show dependencies, although file is a dynamic executable.
>How-To-Repeat:
Use ldd on a dynamic executable:
root at ddba034:/usr/local/netvault/bin > file txtconfig
txtconfig: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.4, dynamically linked (uses shared libs), stripped
root at ddba034:/usr/local/netvault/bin > ldd txtconfig
ldd: txtconfig: can't read program header
ldd: txtconfig: not a dynamic executable
Reading the elf header with readelf is possible.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list