I wanted to install asterisk on my FreeBSD 12.1-Release PC from asterisk source code.
I managed to install packages on /usr/src directory, however make command outputs error
Beneath I present
I managed to install packages on /usr/src directory, however make command outputs error
Code:
/usr/local/bin/ld: crypt.o: in function `ast_crypt':
/usr/src/asterisk/asterisk-17.5.0/main/crypt.c:124: undefined reference to `crypt_r'
/usr/local/bin/ld: crypt.o: in function `ast_crypt_validate':
/usr/src/asterisk/asterisk-17.5.0/main/crypt.c:139: undefined reference to `crypt_r'
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:321: asterisk] Error 1
gmake[1]: *** [Makefile:387: main] Error 2
gmake[1]: Leaving directory '/usr/src/asterisk-17.5.0'
*** Error code 2
Stop.
Beneath I present
pkg info -a
in a text file and ./configure
command within the source code(to check the dependencies)Attachments
Last edited by a moderator: