You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Linux/macOS, try adding the following line or lines to your shell configuration file (usually ~/.bashrc for Bash on Linux and ~/.zshrc for Zsh on macOS):
👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct.
Thanks for providing this solution. Changing LD_LIBRARY_PATH (on Linux) or DYLD_LIBRARY_PATH (on macOS) definitely works, but it sometimes may cause system-wide conflicts, especially if other libraries/software depend on them. So, I still prefer the GMT_LIBRARY_PATH solution which can make things safer and more isolated.
Description of the problem
In the "Error loading GMT shared library at …" subsection of the Install section of the user documentation, suggest adding another solution to the error:
For Linux/macOS, try adding the following line or lines to your shell configuration file (usually ~/.bashrc for Bash on Linux and ~/.zshrc for Zsh on macOS):
export GMT_LIBRARY_PATH=$HOME/miniforge3/envs/pygmt/lib
or
export LD_LIBRARY_PATH=$GMTHOME/lib:$LD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$GMTHOME/lib:$DYLD_LIBRARY_PATH
Minimal Complete Verifiable Example
No response
Full error message
No response
System information
The text was updated successfully, but these errors were encountered: