maihao14/QuakeLabeler

Error loading GMT shared library

Opened this issue · 1 comments

Hello,

I was trying to use the QuakeLabeler package on some data and when I tried to run it I got the following error:

pygmt.exceptions.GMTCLibNotFoundError: Error loading GMT shared library at 'libgmt.so'.
libgmt.so: cannot open shared object file: No such file or directory

I saw that there were some responses to a similar question in the past, but they all involved using conda, which I don't use at it interferes with other libraries I use.

So far I tried using:

pip install pygmt

as well as GMT:

sudo apt-get install gmt gmt-dcw gmt-gshhg
sudo apt-get install ghostscript
Unfortunately, it did not work.

Any suggestions would be appreciated

Hi, @sbrent88 here are 2 possible solutions in my mind:

  1. Create a conda environment for QuakeLabler. Which will not bother your other libraries.
  2. Comment(block) PyGMT import and relevant codes in QuakeLabeler. Those codes are just for creating overview maps. It's not essential for producing datasets.
    Hope this will help!