Created attachment 327050 [details]
app-admin/rsyslog USE=ssl fails to load the gnutls plugin library, stating in log
rsyslogd-2066: could not load module '/usr/lib64/rsyslog/lmnsd_gtls.so', dlopen: /usr/lib64/rsyslog/lmnsd_gtls.so: undefined symbol: gcry_control
[try http://www.rsyslog.com/e/2066 ]
steps to reproduce:
1. emerge --sync && emerge -uDN world
2. USE=ssl emerge app-admin/rsyslog
3. enable tls module in rsyslog config
4. rc-service rsyslog restart
5. watch your log file
Tried with app-admin/rsyslog-5.8.11 and app-admin/rsyslog-5.8.12, with dev-libs/libgcrypt-1.5.0-r2 and dev-libs/libgcrypt-1.4.6
A similar bug is at https://bugs.gentoo.org/show_bug.cgi?id=337504.
I don't see whether you have specific package USE flags, but can you try emerging again (-uDN) with USE flags gnutls and gcrypt enabled? Don't forget to `revdep-rebuild` afterwards, making sure it ends up being clean.
This could indicate whether the USE flag being not properly configuring the build from the ebuild might be the problem.
globally enabling these use flags would run me into severe conflicts. However I was able to workaround this bug by changing net-libs/gnutls to USE="-nettle" like mentioned in the bug you linked. Thank you for the hint.
un-CC'ing myself since I stepped down as co-maintainer of rsyslog
This version of rsyslog is not supported and not in tree anymore. Please try with a newer version and open a new bug if the issue persists.