Nuitka
Nuitka copied to clipboard
MacOS shared object dependency scan failure with system library - updated
Hello,
Using python 3.11.6, nuitka 2.1.2, macOS 14.2.1
When building the application with nuitka, the dependency scan fails with this message:
FATAL: Error, problem with dependency scan of '/Users/
I attached a tarball with material to reproduce: testcase_issue_nuitka.tar.gz
Thanks for your support!
It's a shame you didn't provide the --version output although it clearly asks you to. You also have a hello world situation I would assume, can you compile anything with your Python at all?
Hi Kay,
Here is the output for the version. I'm sorry about the ticket format. I have to comply to my company policy about posting externally. I had to write this exact thing.
python3 -m nuitka --version
2.1.2
Commercial: None
Python: 3.11.6 (main, Oct 2 2023, 20:46:14) [Clang 14.0.3 (clang-1403.0.22.14.1)]
Flavor: Homebrew Python
Executable: /Users/vincent/Library/Caches/pypoetry/virtualenvs/integration-test-kGv_V3l9-py3.11/bin/python3
OS: Darwin
Arch: arm64
Version C compiler: /usr/bin/clang (clang 15.0.0).
can you compile anything with your Python at all?
Actually with the current version the compilation fails on both sides, packaging and integration. There is a workaround though:
Adding /opt/homebrew/opt/zstd/lib to the PYTHONPATH variable 'fixes' the issue. It looks like it makes python think that the module is 'EXTENSION' and not 'MAIN_MODULE'. Well it's not clear to me.
Anyway, thanks a lot for your time.
Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback on whether this is working is very welcome. Please do not share plans to do it; only confirm or deny that it is working.
Hi Kay, this works for me !
This is part of the stable release 2.4 that I just made.