Bug #5821
closedAsterisk - shared object libperl.so not found
0%
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.
Updated by Willy Tenner almost 9 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
Updated by Chris Buechler over 8 years ago
PBI crud that won't be an issue if Asterisk package comes back to 2.3
Updated by Chris Buechler over 8 years ago
- Status changed from New to Closed
package has been removed