[ 
https://issues.apache.org/jira/browse/ARROW-15891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17503695#comment-17503695
 ] 

Krisztian Szucs commented on ARROW-15891:
-----------------------------------------

It used to work since we manually create universal2 static libraries for ssl 
and crypto 
https://github.com/apache/arrow/blob/master/dev/tasks/python-wheels/github.osx.arm64.yml#L84-L95

One of the arrow commits should have broken it. Theoretically if the arm64 
binary can load the symbol the amd64 symbol should be present as well 
(presuming that we still link with the universal2 ssl and crypto libraries).


> [Python][Packaging] macOS universal wheel test failure on x86
> -------------------------------------------------------------
>
>                 Key: ARROW-15891
>                 URL: https://issues.apache.org/jira/browse/ARROW-15891
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Continuous Integration, Packaging, Python
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> Loading the crossbow-built macOS universal wheels on x86 fails with a symbol 
> lookup error:
> https://github.com/ursacomputing/crossbow/runs/5481178200?check_suite_focus=true#step:13:95
> {code}
> Traceback (most recent call last):
>   File "<string>", line 2, in <module>
>   File 
> "/Users/github/actions-runner/_work/crossbow/crossbow/test-amd64-env/lib/python3.9/site-packages/pyarrow/__init__.py",
>  line 65, in <module>
>     import pyarrow.lib as _lib
> ImportError: 
> dlopen(/Users/github/actions-runner/_work/crossbow/crossbow/test-amd64-env/lib/python3.9/site-packages/pyarrow/lib.cpython-39-darwin.so,
>  2): Symbol not found: _EVP_CIPHER_CTX_ctrl
>   Referenced from: 
> /Users/github/actions-runner/_work/crossbow/crossbow/test-amd64-env/lib/python3.9/site-packages/pyarrow/libparquet.800.dylib
>   Expected in: flat namespace
>  in 
> /Users/github/actions-runner/_work/crossbow/crossbow/test-amd64-env/lib/python3.9/site-packages/pyarrow/libparquet.800.dylib
> {code}
> This symbol is provided in OpenSSL. For some reason, this fails on x86 but 
> not on ARM64.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to