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

orjson macosx wheels since 3.6.9 require unspecified recent macosx version (>=10.15) #276

Closed
jefferis opened this issue Jul 1, 2022 · 1 comment

Comments

@jefferis
Copy link

jefferis commented Jul 1, 2022

On a machine running 10.14 I see:

Error in py_module_import(module, convert = convert) : 
  ImportError: dlopen(/Users/jefferis/Library/r-miniconda/envs/r-reticulate/lib/python3.8/site-packages/orjson/orjson.cpython-38-darwin.so, 2): no suitable image found.  Did find:
	/Users/jefferis/Library/r-miniconda/envs/r-reticulate/lib/python3.8/site-packages/orjson/orjson.cpython-38-darwin.so: cannot load 'orjson.cpython-38-darwin.so' (load command 0x80000034 is unknown)
	/Users/jefferis/Library/r-miniconda/envs/r-reticulate/lib/python3.8/site-packages/orjson/orjson.cpython-38-darwin.so: cannot load 'orjson.cpython-38-darwin.so' (load command 0x80000034 is unknown)

Detailed traceback:
  File "/Library/Frameworks/R.framework/Versions/4.1/Resources/library/reticulate/python/rpytools/loader.py", line 39, in _import_hook
    module = _import(
  File "/Users/jefferis/Library/r-miniconda/envs/r-reticulate/lib/python3.8/site-packages/cloudvolume/__init__.py", line 49, in <module>
    from .cloudvolume import CloudVolume, register_plugin
  File "/Library/Frameworks/R.framework/Vers

The key error is

load command 0x80000034 is unknown

this corresponds to LC_DYLD_CHAINED_FIXUPS (see e.g. ronaldoussoren/macholib#31) which is not available on macosx 10.14. I think the macosx build environment should explicitly specify a lower target version.

Of the available binaries 3.6.8 is the last that works for me.

@jefferis jefferis changed the title orjson macosx wheels since 3.6.9 requires unspecified recent macosx version (>=10.15) orjson macosx wheels since 3.6.9 require unspecified recent macosx version (>=10.15) Jul 1, 2022
@ijl
Copy link
Owner

ijl commented Jul 3, 2022

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

2 participants