[Asterisk-code-review] build: Execute ldconfig to build cache. (asterisk[13])

Joshua Colp asteriskteam at digium.com
Tue Feb 21 05:24:58 CST 2017


Joshua Colp has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/5042 )

Change subject: build: Execute ldconfig to build cache.
......................................................................

build: Execute ldconfig to build cache.

On some platforms a multiarch approach is used for libraries.
The build system does not take this into account and still
places libraries into the lib directory if no --libdir is
specified to configure. On initial startup this results in
libasteriskssl.so not being found, as it is not in the multiarch
lib directory.

This change does the minimally invasive thing and executes
ldconfig so that the libraries in the lib directory are found
and their location cached. By doing so Asterisk starts up fine.

If DESTDIR is specified, however, the old logic is executed as
the install process may not have permission to alter the ldconfig
cache.

ASTERISK-26705

Change-Id: If4eca46ac510c6fea5568256280ffdb3888d7bb4
---
M main/Makefile
1 file changed, 8 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/42/5042/2
-- 
To view, visit https://gerrit.asterisk.org/5042
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: If4eca46ac510c6fea5568256280ffdb3888d7bb4
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list