Project

General

Profile

Bug #5821

Asterisk - shared object libperl.so not found

Added by Willy Tenner over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
01/27/2016
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:
amd64

Description

Problem:

During startup of Asterisk a module (res_snmp.so) cannot be loaded, because the shared object "libperl.so" is not found.

Description:

After installing Asterisk package version 0.3.4 on pfSense 2.2.6 every time when Asterisk was re-/started two error messages were logged in Status->Asterisk->Log:

[Jan 3 12:55:21] WARNING[-1] loader.c: Error loading module 'res_snmp.so': Shared object "libperl.so" not found, required by "libnetsnmpmibs.so.30" 
[Jan 3 12:55:21] WARNING[-1] loader.c: Module 'res_snmp.so' could not be loaded.

and the module 'res_snmp.so' was not loaded.

Workaround:

For a reboot persistent workaround a symbolic can be created:

ln -s /usr/pbi/asterisk-amd64/local/lib/perl5/5.18/mach/CORE/libperl.so /usr/pbi/asterisk-amd64/local/lib/libperl.so

This has to be done only once. I don't know where a good place is to do this during the installation of the package.

Solution:

Either find an installation script inside the package and insert the above command
or
the modules has to be recompiled/linked in another way.

Please fix this in the next package version of Asterisk (0.3.5?). Thank you again.

Remark:

In case the module 'res_snmp.so' isn't used for anything in this package it should be removed. Nobody likes unnecessary warning and error messages in the log.

History

#1 Updated by Willy Tenner over 4 years ago

Remark Addon:

If 'res_snmp.so' isn't really needed, uncomment the following line in /usr/local/pkg/asterisk.inc:

;noload => res_snmp.so

#2 Updated by Chris Buechler about 4 years ago

PBI crud that won't be an issue if Asterisk package comes back to 2.3

#3 Updated by Chris Buechler about 4 years ago

  • Status changed from New to Closed

package has been removed

Also available in: Atom PDF