Subject: bin/14886: /sbin/tbrconfig is dynamic linked
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 12/10/2001 12:01:06
>Number: 14886
>Category: bin
>Synopsis: /sbin/tbrconfig is dynamic linked
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Dec 09 19:02:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5Z (2001/12/1)
>Organization:
FUKAUMI Naoki
>Environment:
NetBSD 1.5Z on i386
>Description:
I found /sbin/tbrconfig is dynamic linked binary. tbrconfig is a part of
altq (/usr/src/usr.sbin/altq/tbrconfig).
If the machine has / and /usr(/lib) partition, and if /usr isn't mounted
(e.g. single user mode), you can't use tbrconfig.
>How-To-Repeat:
% ldd /sbin/tbrconfig
/sbin/tbrconfig:
-lc.12 => /usr/lib/libc.so.12
% file /sbin/tbrconfig
/sbin/tbrconfig: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
>Fix:
Define LDSTATIC in Makefile... ?
>Release-Note:
>Audit-Trail:
>Unformatted: