Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ldd is broken in default install (missing dependency on bash)
@ 2021-11-29 22:14 twpayne
  2021-11-29 22:45 ` ericonr
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: twpayne @ 2021-11-29 22:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

New issue by twpayne on void-packages repository

https://github.com/void-linux/void-packages/issues/34319

Description:
### System

* xuname:  
  `Void 5.4.0-86-generic x86_64 GenuineIntel uptodate rF`
* package:  
  *affected package(s) including the version*: Sorry, I could not find out which package provides `/usr/sbin/ldd`.

### Expected behavior

`ldd --version` prints a version number and copyright notice.

### Actual behavior

`ldd --version` fails with the error:

```
/bin/sh: 1: ldd: not found
```

### Steps to reproduce the behavior

With Docker:

```console
$ docker run -it voidlinux/voidlinux:latest /bin/sh
# ldd
/bin/sh: 1: ldd: not found
```

### Explanation

`/usr/sbin/ldd` is a bash script:
```console
$ head -n 1 /usr/sbin/ldd
#!/bin/bash
```
By default, `bash` is not installed, so `/usr/sbin/ldd` fails with the "not found" error shown above.

### Possible fixes

1. Install `/bin/bash` as part of the base system.
2. Modify `/usr/sbin/ldd` to use `/bin/sh` instead of `/bin/bash`, as `/bin/sh` is part of the base system.

Please let me know if you need any further information.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-19  3:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-29 22:14 [ISSUE] ldd is broken in default install (missing dependency on bash) twpayne
2021-11-29 22:45 ` ericonr
2021-11-29 22:46 ` ericonr
2021-11-29 22:56 ` ericonr
2021-11-29 22:57 ` ericonr
2021-11-30 12:10 ` twpayne
2021-12-02  0:13 ` [ISSUE] [CLOSED] " ericonr
2022-02-19  3:35 ` illiliti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).