d544c5a7027138be97b804307c77dbf8fc99d80b
Critical fixes to resolve "[ERROR] Binary not executable after build": 1. **Opus x86_64 Compatibility Patch** - Added gopus library patch to use system libopus for x86_64 - The embedded Opus source in gopus is ARM-optimized and incomplete for x86_64 - Now uses pkg-config to link against system libopus library 2. **Vendored Dependencies** - Added `go mod vendor` to create vendored dependencies - Build now uses `-mod=vendor` flag to ensure patched gopus is used 3. **Enhanced Build Process** - Set CGO_CFLAGS and CGO_LDFLAGS for proper Opus compilation - Build in cmd/talkkonnect directory (correct location) - Added build-essential and pkg-config to dependencies 4. **Improved XML Configuration** - Updated to modern talkkonnect/xml document type - Added critical voicetargets section to prevent crashes - Added proper global settings structure - Created .config/talkkonnect directory for logs 5. **Additional Dependencies** - Added libopus0, libopusfile-dev for complete Opus support - Added build-essential and pkg-config for compilation This integrates the working approach from talkkonnect_complete_install.sh into the setup_intercom.sh script.
Languages
Shell
94.1%
JavaScript
4.7%
HTML
0.9%
CSS
0.3%