Skip to content

Conversation

@AlirezaShamsoshoara
Copy link
Member

This PR addresses these two issues (installing monarch from source on Ubuntu and importing monarch):

1773
and
1774

There might be another better way to handle these two issues.

Install libunwind in Conda

To ensure proper stack unwinding and compatibility with certain native libraries, install libunwind from conda-forge:

# Install the libunwind package from conda-forge
conda install -c conda-forge libunwind

Preload libgcc_s.so.1 from Conda Environment

Some binaries require a specific version of the GCC runtime library (libgcc_s.so.1). To avoid conflicts with system libraries and ensure the correct version is used, preload the library from your active Conda environment:

# Preload libgcc_s.so.1 from the current Conda environment to ensure correct GCC runtime linking.
# This helps prevent issues with mismatched or missing GCC runtime libraries when running binaries.
export LD_PRELOAD="$CONDA_PREFIX/lib/libgcc_s.so.1:$LD_PRELOAD"

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant