Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible library version: libpoppler.117.dylib requires version 14.0.0 or later #1800

Closed
weiji14 opened this issue Mar 10, 2022 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@weiji14
Copy link
Member

weiji14 commented Mar 10, 2022

Description of the problem

The macOS tests started failing on 8 Mar 2022 (19:20 UTC). Something about an incompatible library version. May need to do something about it at https://github.com/conda-forge/gmt-feedstock. Edit: I think we'll just need to wait for GDAL, see conda-forge/gdal-feedstock#611.

Details: https://github.com/GenericMappingTools/pygmt/runs/5473131239?check_suite_focus=true#step:11:33

Full code that generated the error

make test PYTEST_EXTRA="-r P"

Full error message

Run make test PYTEST_EXTRA="-r P"
# Run a tmp folder to make sure the tests are run on the installed version
mkdir -p tmp-test-dir-with-unique-name

dyld: Library not loaded: @rpath/libfontconfig.1.dylib
  Referenced from: /Users/runner/miniconda3/envs/pygmt/lib/libpoppler.117.0.0.dylib
  Reason: Incompatible library version: libpoppler.117.dylib requires version 14.0.0 or later, but libfontconfig.1.dylib provides version 13.0.0
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/runner/miniconda3/envs/pygmt/lib/python3.9/site-packages/pygmt/__init__.py", line 69, in <module>
    _begin()
  File "/Users/runner/miniconda3/envs/pygmt/lib/python3.9/site-packages/pygmt/session_management.py", line 16, in begin
    with Session() as lib:
  File "/Users/runner/miniconda3/envs/pygmt/lib/python3.9/site-packages/pygmt/clib/session.py", line 183, in __enter__
    self.create("pygmt-session")
  File "/Users/runner/miniconda3/envs/pygmt/lib/python3.9/site-packages/pygmt/clib/session.py", line 330, in create
    c_create_session = self.get_libgmt_func(
  File "/Users/runner/miniconda3/envs/pygmt/lib/python3.9/site-packages/pygmt/clib/session.py", line 282, in get_libgmt_func
    self._libgmt = load_libgmt()
  File "/Users/runner/miniconda3/envs/pygmt/lib/python3.9/site-packages/pygmt/clib/loading.py", line 59, in load_libgmt
    raise GMTCLibNotFoundError("\n".join(error_msg))
pygmt.exceptions.GMTCLibNotFoundError: Error loading GMT shared library at 'libgmt.dylib'.
dlopen(libgmt.dylib, 6): Library not loaded: @rpath/libfontconfig.1.dylib
  Referenced from: /Users/runner/miniconda3/envs/pygmt/lib/libpoppler.117.0.0.dylib
  Reason: Incompatible library version: libpoppler.117.dylib requires version 14.0.0 or later, but libfontconfig.1.dylib provides version 13.0.0
make: *** [Makefile:38: test] Error 1
Error: Process completed with exit code 2.

System information

Please paste the output of python -c "import pygmt; pygmt.show_versions()":

Haven't got this because the CI didn't get to this command...

OS: macOS-latest
PYTHON: 3.9
NUMPY: 1.22
@weiji14 weiji14 added the bug Something isn't working label Mar 10, 2022
@seisman seisman added this to the 0.6.0 milestone Mar 10, 2022
@seisman
Copy link
Member

seisman commented Mar 10, 2022

conda-forge/gdal-feedstock#611 has been merged. The macOS tests now work.

@seisman seisman closed this as completed Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants