vibhatha commented on issue #40018:
URL: https://github.com/apache/arrow/issues/40018#issuecomment-1992701248
@kou something like this could work right?
```python
# Check for undefined symbols
result = subprocess.run(['nm', '-u', path], stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
undefined_symbols = result.stdout.decode('utf-8')
if undefined_symbols:
raise DependencyError(
f"Undefined symbols found in {dylib.path}: {undefined_symbols}"
)
```
How can we test this though? cc @raulcd
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]