Skip to content

Commit d67f1fe

Browse files
authored
Merge pull request #3219 from input-output-hk/chore/lw-10649-no-ld-library-path
[LW-10649] Unset `LD_LIBRARY_PATH` on Linux
2 parents 98cc4a2 + 70134cf commit d67f1fe

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## vNext
44

5+
### Chores
6+
7+
- Unset `LD_LIBRARY_PATH` on Linux ([PR 3219](https://github.com/input-output-hk/daedalus/pull/3219))
8+
59
## 6.0.0
610

711
### Chores

nix/internal/x86_64-linux.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,12 @@ in rec {
291291
292292
cp ${pkgs.writeText "daedalus" ''
293293
#!/bin/sh
294+
295+
if [ -n "$LD_LIBRARY_PATH" ]; then
296+
echo >&2 'Warning: ‘LD_LIBRARY_PATH’ is set, it’s been known to cause problems in the past, unsetting it.'
297+
unset LD_LIBRARY_PATH
298+
fi
299+
294300
set -ex
295301
296302
ENTRYPOINT_DIR="$(dirname "$(dirname "$(readlink -f "$0")")")"

0 commit comments

Comments
 (0)