kou commented on pull request #7397:
URL: https://github.com/apache/arrow/pull/7397#issuecomment-642989620
The command line that causes this link error has the following arguments in
this order:
* ...
* `/usr/lib/s390x-linux-gnu/libssl.so`
* ...
* `/usr/lib/s390x-linux-gnu/libssl.so`
* ...
* `grpc_ep-install/lib/libgrpc++.a`
* ....
* `/usr/lib/s390x-linux-gnu/libssl.so`
* ...
* `/usr/lib/s390x-linux-gnu/libssl.so`
* ...
* `grpc_ep-install/lib/libgrpc.a`
* ...
It seems that we need `libssl.so` after `libgrpc.a` because `libgrpc.a` uses
`d2i_SSL_SESSION`:
```console
$ nm grpc_ep-install/lib/libgrpc.a | grep d2i_SSL_SESSION
U d2i_SSL_SESSION
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]