-
Notifications
You must be signed in to change notification settings - Fork 266
Description
OS/arch: macOS 13.5.2 / arm64
Install command: pip wheel --use-pep517 "aeneas (==1.7.3.0)"
I have a build where aeneas is used as a dependency for a project, and my system does have espeak installed via homebrew as recommended in the setup warning that is printed. It failed to install via the tooling in my project (Poetry) and gave the command above as a method of testing it outside of any of its own tooling as a method of testing.
Looking at the output log. The library is not found. I believe this is because the clang command does not contain the -L/opt/homebrew/lib, indicating that it should look in that path for libraries.
I'm going to attempt just modifying my ld path and try again, but given you advise users to install via homebrew, do you think adding it makes sense?
clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk build/temp.macosx-13-arm64-cpython-311/aeneas/cew/cew_func.o build/temp.macosx-13-arm64-cpython-311/aeneas/cew/cew_py.o -lespeak -o build/lib.macosx-13-arm64-cpython-311/aeneas/cew/cew.cpython-311-darwin.so
ld: library not found for -lespeak
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Command "clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk build/temp.macosx-13-arm64-cpython-311/aeneas/cew/cew_func.o build/temp.macosx-13-arm64-cpython-311/aeneas/cew/cew_py.o -lespeak -o build/lib.macosx-13-arm64-cpython-311/aeneas/cew/cew.cpython-311-darwin.so" failed with exit status 1