Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Conversation

@TravisEz13
Copy link
Member

Add usr/lib to rpath to fix segfaults

Also, set CLR_ICU_VERSION_OVERRIDE to 60.2 so that DotNet doesn't try to load any other.

fixes #33

This reverts commit 349026c.

# Conflicts:
#	stable/snap/snapcraft.yaml
[ -n "$XDG_RUNTIME_DIR" ] && mkdir -p $XDG_RUNTIME_DIR -m 700

# make sure DOTNET loads the ICU that we ship
export CLR_ICU_VERSION_OVERRIDE=60.2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be exported?

It might be better to set the env var with the exec, like this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script is already being exec'ed. It seems redundant.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But found there is a YAML syntax to put it in that exec... Moving it there.

@TravisEz13 TravisEz13 merged commit a5e6782 into PowerShell:master Nov 1, 2019
@TravisEz13 TravisEz13 deleted the fix_libicu branch November 1, 2019 22:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running pwsh fails, not finding a valid ICU package

3 participants