[Home]

Summary:ASTERISK-26705: libasteriskssl.so not found when asterisk is installed for the 1st time
Reporter:George Joseph (gjoseph)Labels:
Date Opened:2017-01-08 13:38:11.000-0600Date Closed:2017-02-17 12:16:40.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:13.13.1 14.2.1 GIT Frequency of
Occurrence
Constant
Related
Issues:
causesASTERISK-27595 [patch] BuildSystem: Invoke ldconfig with previous paths.
causesASTERISK-26909 Libdir defaults to /usr/lib64 on systems that have a stray lib64 directory
causesASTERISK-27589 [patch] BuildSystem: Avoid $EUID and use id -u instead.
Environment:Fedora, CentOS, UbuntuAttachments:
Description:When asterisk is installed on a machine that has never had asterisk installed before, asterisk isn't finding libasteriskssl.so on start.
{noformat}
/usr/sbin/asterisk: error while loading shared libraries: libasteriskssl.so: cannot open shared object file: No such file or directory
{noformat}
An "ldconfig" fixed it.

We should be doing an ldconfig during "make install".  Not sure why it's not working.
Comments:By: Joshua C. Colp (jcolp) 2017-02-15 12:16:11.039-0600

The underlying problem here is that libraries are going into /usr/lib while they should be going into /usr/lib64. We aren't doing a full ldconfig and rebuilding the cache, so they can't be found.

By: Friendly Automation (friendly-automation) 2017-02-17 12:16:41.588-0600

Change 4981 merged by Joshua Colp:
build: Execute ldconfig to build cache.

[https://gerrit.asterisk.org/4981|https://gerrit.asterisk.org/4981]

By: Friendly Automation (friendly-automation) 2017-02-17 12:46:41.139-0600

Change 4982 merged by zuul:
build: Execute ldconfig to build cache.

[https://gerrit.asterisk.org/4982|https://gerrit.asterisk.org/4982]

By: Friendly Automation (friendly-automation) 2017-02-17 12:47:51.899-0600

Change 4983 merged by Joshua Colp:
build: Execute ldconfig to build cache.

[https://gerrit.asterisk.org/4983|https://gerrit.asterisk.org/4983]

By: Friendly Automation (friendly-automation) 2017-02-21 13:37:40.627-0600

Change 5044 merged by Joshua Colp:
build: Execute ldconfig to build cache.

[https://gerrit.asterisk.org/5044|https://gerrit.asterisk.org/5044]

By: Friendly Automation (friendly-automation) 2017-02-21 14:44:19.971-0600

Change 5043 merged by Joshua Colp:
build: Execute ldconfig to build cache.

[https://gerrit.asterisk.org/5043|https://gerrit.asterisk.org/5043]

By: Friendly Automation (friendly-automation) 2017-02-21 14:55:48.323-0600

Change 5042 merged by Joshua Colp:
build: Execute ldconfig to build cache.

[https://gerrit.asterisk.org/5042|https://gerrit.asterisk.org/5042]

By: Friendly Automation (friendly-automation) 2017-02-24 11:52:53.500-0600

Change 5080 merged by Joshua Colp:
build: Execute ldconfig to build cache. (take two)

[https://gerrit.asterisk.org/5080|https://gerrit.asterisk.org/5080]

By: Friendly Automation (friendly-automation) 2017-02-24 12:11:39.211-0600

Change 5081 merged by zuul:
build: Execute ldconfig to build cache. (take two)

[https://gerrit.asterisk.org/5081|https://gerrit.asterisk.org/5081]

By: Friendly Automation (friendly-automation) 2017-02-24 12:13:15.639-0600

Change 5082 merged by zuul:
build: Execute ldconfig to build cache. (take two)

[https://gerrit.asterisk.org/5082|https://gerrit.asterisk.org/5082]

By: Friendly Automation (friendly-automation) 2017-02-28 17:29:40.414-0600

Change 5093 merged by zuul:
build:  Warn if asterisk is installed in both 32 and 64 bit sys dirs

[https://gerrit.asterisk.org/5093|https://gerrit.asterisk.org/5093]

By: Friendly Automation (friendly-automation) 2017-02-28 17:33:51.983-0600

Change 5094 merged by Joshua Colp:
build:  Warn if asterisk is installed in both 32 and 64 bit sys dirs

[https://gerrit.asterisk.org/5094|https://gerrit.asterisk.org/5094]

By: Friendly Automation (friendly-automation) 2017-02-28 17:48:49.226-0600

Change 5095 merged by Joshua Colp:
build:  Warn if asterisk is installed in both 32 and 64 bit sys dirs

[https://gerrit.asterisk.org/5095|https://gerrit.asterisk.org/5095]

By: Friendly Automation (friendly-automation) 2017-03-31 08:21:09.752-0500

Change 5344 merged by George Joseph:
build: Fix deb build issues with fakeroot

[https://gerrit.asterisk.org/5344|https://gerrit.asterisk.org/5344]

By: Friendly Automation (friendly-automation) 2017-03-31 08:21:20.344-0500

Change 5359 merged by George Joseph:
build: Fix deb build issues with fakeroot

[https://gerrit.asterisk.org/5359|https://gerrit.asterisk.org/5359]

By: Friendly Automation (friendly-automation) 2017-03-31 08:21:27.516-0500

Change 5348 merged by George Joseph:
build: Fix deb build issues with fakeroot

[https://gerrit.asterisk.org/5348|https://gerrit.asterisk.org/5348]

By: Friendly Automation (friendly-automation) 2017-03-31 08:21:35.028-0500

Change 5360 merged by George Joseph:
build: Fix deb build issues with fakeroot

[https://gerrit.asterisk.org/5360|https://gerrit.asterisk.org/5360]

By: Friendly Automation (friendly-automation) 2017-03-31 08:21:43.306-0500

Change 5349 merged by George Joseph:
build: Fix deb build issues with fakeroot

[https://gerrit.asterisk.org/5349|https://gerrit.asterisk.org/5349]