Open stolendata opened 7 years ago
In order to install modules into /usr/lib64/asterisk/modules, use the option --prefix as follows:
./configure --prefix=/usr/lib64/asterisk/modules
However, I agree it would be logical to support the option --libdir and may revise how --prefix is currently handled.
@achaloyan Perhaps as a start this (--prefix) could be mentioned in https://github.com/unispeech/asterisk-unimrcp/blob/master/INSTALL in the "Configure options" section (L63 downwards)?
And also in https://www.unimrcp.org/manuals/html/AsteriskInstallationManual.html
For CentOS 7/x86_64, the correct path for 64-bit libraries is /usr/lib64, not /usr/lib:
Thus, after installation, one has to manually move the libs out of /usr/lib/asterisk/modules/ into /usr/lib64/asterisk/modules/ in order for Asterisk to load Unimrcp.