Skip to content

Set libgmt path with GMT_LIBRARY_PATH from environ - #177

Merged
leouieda merged 2 commits into
masterfrom
set-libgmt-path
Apr 24, 2018
Merged

leouieda merged 2 commits into
masterfrom
set-libgmt-path

Conversation

@leouieda

Copy link
Copy Markdown
Member

LibGMT no longer takes a pathname as input. The library path is either
just the file name, or the directory is taken from the GMT_LIBRARY_PATH
environment variable. This allows users to direct the GMT/Python to
libgmt. It's useful to test against a local build of GMT trunk or
resolving path issues without resorting to LD_LIBRARY_PATH.

Replace section on LD_LIBRARY_PATH with GMT_LIBRARY_PATH in install
docs. Make it clear that this should be a last resort.

Fixes #172 and fixes #165

`LibGMT` no longer takes a pathname as input. The library path is either
just the file name, or the directory is taken from the GMT_LIBRARY_PATH
environment variable. This allows users to direct the GMT/Python to
libgmt. It's useful to test against a local build of GMT trunk or
resolving path issues without resorting to LD_LIBRARY_PATH.

Replace section on LD_LIBRARY_PATH with GMT_LIBRARY_PATH in install
docs. Make it clear that this should be a last resort.

Fixes #172 and fixes #165
@leouieda
leouieda merged commit 51c76d6 into master Apr 24, 2018
@leouieda
leouieda deleted the set-libgmt-path branch April 24, 2018 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow setting the libgmt path through an environment variable Make it clear in the install docs that setting LD_LIBRARY_PATH is a last option

1 participant