Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735526 - app-admin/syslog-ng-3.26.1-r1 - syslog-ng: Error opening plugin module; module='snmpdest', error='libsyslog-ng-3.22.so.0: cannot open shared object file: No such file or directory'
Summary: app-admin/syslog-ng-3.26.1-r1 - syslog-ng: Error opening plugin module; modul...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-02 15:03 UTC by Christophe PEREZ
Modified: 2022-09-12 20:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2020-08-02 15:03:15 UTC
Each night, in /var/log/syslog, I get :

syslog-ng[13287]: Error opening plugin module; module='snmpdest', error='libsyslog-ng-3.22.so.0: cannot open shared object file: No such file or directory'

But libsyslog-ng-3.22.so.0 doesn't exist on my system.

emerge @preserved-rebuild gives nothing.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-06 05:36:01 UTC
Looks like 3.26.1 linked against the older, installed libsyslog-ng during the build. Might be (tangentially) related to bug #686416.
Comment 2 Tomáš Mózes 2020-08-06 06:27:49 UTC
Which version of syslog-ng do you have installed? 3.22 or 3.26?

In either case, please try to recompile syslog-ng:
emerge -v1 app-admin/syslog-ng

Does it help?
Comment 3 Christophe PEREZ 2020-08-07 11:13:18 UTC
I recompiled app-admin/syslog-ng-3.26.1-r1
And I haven't the error in the nightly logs anymore.
But, I don't understand why logwatch continues to indicate :

 --------------------- Syslog-ng Begin ------------------------ 

 
 Syslog-ng started:                                   1 Time(s)
 Syslog-ng stopped:                                   1 Time(s)
 Syslog-ng reloaded:                                  1 Time(s)
 
 
 **** Unmatched entries ****
     Configuration reload finished; : 1 Time(s)
     Error opening plugin module; module='snmpdest', error='libsyslog-ng-3.22.so.0: cannot open shared object file: No such file or directory' : 1 Time(s)
 
 ---------------------- Syslog-ng End ------------------------- 

(stop and start were after recompile)
Comment 4 Christophe PEREZ 2020-08-08 13:14:27 UTC
(In reply to Christophe PEREZ from comment #3)
> But, I don't understand why logwatch continues to indicate :

Not anymore.
Solved for me even if I think that portage should ask me to recompile syslog-ng after updates.