Skip to content
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

--libdir is ignored #11

Open
stolendata opened this issue Mar 31, 2017 · 2 comments
Open

--libdir is ignored #11

stolendata opened this issue Mar 31, 2017 · 2 comments
Assignees

Comments

@stolendata
Copy link

For CentOS 7/x86_64, the correct path for 64-bit libraries is /usr/lib64, not /usr/lib:

# ./configure --libdir=/usr/lib64
...
************ REPORT ************
Modules install path...........: /usr/lib/asterisk/modules
...

# make && make install
...
Libraries have been installed in:
   /usr/lib/asterisk/modules

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.

@achaloyan
Copy link
Contributor

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 achaloyan self-assigned this Mar 31, 2017
@ljw-
Copy link

ljw- commented Feb 21, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants