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 #2

Closed
styks1987 opened this issue Sep 19, 2018 · 3 comments
Closed

Incompatible library version #2

styks1987 opened this issue Sep 19, 2018 · 3 comments

Comments

@styks1987
Copy link

When trying to run .info()

Reason: Incompatible library version:
libpoppler.77.0.0.dylib requires version 13.0.0 or later, 
but libfontconfig.1.dylib provides version 12.0.0

MacOS 10.13.4
Node 10.10

@styks1987
Copy link
Author

Required me to update freetype brew upgrade freetype

With version 2.9.1 the above error went away.

@kb47 kb47 closed this as completed Feb 1, 2019
@mfripp
Copy link

mfripp commented Mar 10, 2022

As of March 2022, installing the latest version of poppler (22.01) with conda seems to bring in an incompatible version of fontconfig (2.13.96). conda search --info poppler=22 indicates that poppler works with fontconfig >=2.13.1,<3.0a0, but it seems like fontconfig 2.13.96 isn't actually compatible.

This also affects other packages that use poppler, such as geopandas, which depends on fiona, which depends on libgdal, which depends on poppler. In my case, the problem showed up as this message when attempting to read data with geopandas or run import fiona:

ImportError: dlopen(~/opt/miniconda3/envs/fiona/lib/python3.10/site-packages/fiona/ogrext.cpython-310-darwin.so, 2): Library not loaded: @rpath/libfontconfig.1.dylib
  Referenced from: ~/opt/miniconda3/envs/fiona/lib/libpoppler.117.dylib
  Reason: Incompatible library version: libpoppler.117.dylib requires version 14.0.0 or later, but libfontconfig.1.dylib provides version 13.0.0

I ran conda install fontconfig=2.13.1 and that seems to have fixed it.

@pkgw
Copy link

pkgw commented Mar 14, 2022

See conda-forge/fontconfig-feedstock#54 . The new versions of fontconfig actually are compatible, but there was an unexpected issue related to switching the Fontconfig build system on macOS. Some packages still need to be rebuilt to update their compatibility info, but we've done cairo, pango, and poppler, which should cover most cases.

phargogh added a commit to phargogh/pygeoprocessing that referenced this issue Apr 1, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
I stumbled across this, which suggested this workaround:
kb47/pdf-poppler#2 (comment)

RE:natcap#249 natcap#252
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

No branches or pull requests

4 participants