-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FreeBSD Support #30
Comments
You have to build it from source and it will work. |
It won't work, no matter what. Many hours spent. |
You are welcome to provide more information - what have you tried, what error did you see, logs, outputs. |
Just following the documentation:
/usr/src/asterisk/include/asterisk.h:21:10: fatal error: 'asterisk/autoconfig.h' file not found Assuming need to ./configure & make asterisk first (not mentioned here at all)? No problem.
error: linker command failed with exit code 1 (use -v to see invocation) Expected, asterisk won't build under FreeBSD while using https://github.com/asterisk/asterisk as source. Using ports instead.
Builds just fine. Going back to building vosk-asterisk:
Jan 28 05:39:22] ERROR[100106] loader.c: Error loading module 'res_speech_vosk.so': /usr/local/lib/compat/libc.so.6: version GLIBC_2.14 required by /usr/local/lib/asterisk/modules/res_speech_vosk.so not defined So says my original message. This module truly depends on Linux libraries which can't be brought to FreeBSD for obvious reasons. |
What is the output of |
If I had res_speech_vosk.so, the problem would be resolved to begin with... =)))) root@freebsd:/usr/src/vosk-asterisk-master # ldd /usr/local/lib/asterisk/modules/res_parking.so |
res_speech_vosk is in /usr/local/lib/asterisk/modules/res_speech_vosk.so, message says |
Ended up compiling under Fedora just fine. Thanks. |
Is it possible to use this module on FreeBSD?
Even though I copied the module and libc.so.6 from Linux machine, it still throws an error when loading:
[Jan 28 05:39:22] ERROR[100106] loader.c: Error loading module 'res_speech_vosk.so': /usr/local/lib/compat/libc.so.6: version GLIBC_2.14 required by /usr/local/lib/asterisk/modules/res_speech_vosk.so not defined
The text was updated successfully, but these errors were encountered: