<p>This is the output of kamailio -I</p>
<pre><code>Print out of kamailio internals
  Version: kamailio 5.0.1 (x86_64/linux)
  Default config: /etc/kamailio/kamailio.cfg
  Default paths to modules: /usr/lib64/kamailio/modules
  Compile flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
  MAX_RECV_BUFFER_SIZE=262144
  MAX_LISTEN=16
  MAX_URI_SIZE=1024
  BUF_SIZE=65535
  DEFAULT PKG_SIZE=8MB
  DEFAULT SHM_SIZE=64MB
  ADAPTIVE_WAIT_LOOPS=1024
  TCP poll methods: poll, epoll_lt, epoll_et, sigio_rt, select
  Source code revision ID: unknown
  Compiled with: gcc 4.9.2
  Compiled on:
Thank you for flying kamailio!
</code></pre>
<p>However, the the default configuration gets installed with these lines:</p>
<pre><code>/* set paths to location of modules */
# mpath="/usr/lib/x86_64-linux-gnu/kamailio/modules/"
</code></pre>
<p>This is where the modules actually are located.</p>
<p>How can I influence the path given by <code>kamailio -I</code>?</p>
<p>After your comment, I first thought there was a problem with our own packages built locally, but the problem is the same when installing from <code>http://deb.kamailio.org/kamailio50</code>.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1096#issuecomment-297672167">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZeZGK6C6waVCI_rHYIILK5HPGXPpks5r0GlXgaJpZM4NJ9re">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZSLAQGYiJTf6banoichKwrCp7NAqks5r0GlXgaJpZM4NJ9re.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1096#issuecomment-297672167"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@SipSeb in #1096: This is the output of kamailio -I\r\n```\r\nPrint out of kamailio internals\r\n  Version: kamailio 5.0.1 (x86_64/linux)\r\n  Default config: /etc/kamailio/kamailio.cfg\r\n  Default paths to modules: /usr/lib64/kamailio/modules\r\n  Compile flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES\r\n  MAX_RECV_BUFFER_SIZE=262144\r\n  MAX_LISTEN=16\r\n  MAX_URI_SIZE=1024\r\n  BUF_SIZE=65535\r\n  DEFAULT PKG_SIZE=8MB\r\n  DEFAULT SHM_SIZE=64MB\r\n  ADAPTIVE_WAIT_LOOPS=1024\r\n  TCP poll methods: poll, epoll_lt, epoll_et, sigio_rt, select\r\n  Source code revision ID: unknown\r\n  Compiled with: gcc 4.9.2\r\n  Compiled on:\r\nThank you for flying kamailio!\r\n```\r\n\r\nHowever, the the default configuration gets installed with these lines:\r\n```\r\n/* set paths to location of modules */\r\n# mpath=\"/usr/lib/x86_64-linux-gnu/kamailio/modules/\"\r\n```\r\n\r\nThis is where the modules actually are located. \r\n\r\nHow can I influence the path given by `kamailio -I`?\r\n\r\nAfter your comment, I first thought there was a problem with our own packages built locally, but the problem is the same when installing from `http://deb.kamailio.org/kamailio50`.\r\n"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1096#issuecomment-297672167"}}}</script>