Date: Thu, 10 Aug 2006 18:47:11 +0200 (CEST) From: Nico Schottelius <chdscni9@ddba034.netstream.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: nico-freebsd@schottelius.org Subject: bin/101765: ldd is unable to read ELF header? Message-ID: <200608101647.k7AGlBPM029757@ddba034.netstream.ch> Resent-Message-ID: <200608101650.k7AGoH56067440@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608101647.k7AGlBPM029757>