Skip to content

[pull] master from GenericMappingTools:master#231

Merged
weiji14 merged 1 commit intoweiji14:masterfrom
GenericMappingTools:master
Jan 30, 2021
Merged

[pull] master from GenericMappingTools:master#231
weiji14 merged 1 commit intoweiji14:masterfrom
GenericMappingTools:master

Conversation

@pull
Copy link

@pull pull bot commented Jan 30, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

)

When PyGMT fails to load the GMT library, it raises an error:
```
GMTCLibNotFoundError: Error loading the GMT shared library '/opt/GMT-6.1.1/lib/libgmt.dylib'.
```
However, it's still unclear why it fails.

After this PR, the error message will contain the original error
message. For example:
```
GMTCLibNotFoundError: Error loading the GMT shared library '/opt/GMT-6.1.1/lib/libgmt.dylib'.
 dlopen(/opt/GMT-6.1.1/lib/libgmt.dylib, 6): Library not loaded: @rpath/libnetcdf.15.dylib
  Referenced from: /opt/GMT-6.1.1/lib/libgmt.6.1.1.dylib
  Reason: image not found.
```

Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
@pull pull bot added the ⤵️ pull label Jan 30, 2021
@weiji14 weiji14 merged commit ef628bc into weiji14:master Jan 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants