[syslog-ng] syslog-ng 3.35.1-2.el7

Peter Czanik (pczanik) Peter.Czanik at oneidentity.com
Tue Feb 8 18:13:23 UTC 2022


Hi,

I'm on holidays now after a very busy conference weekend, so I did not check the repositories or the spec files. So, it's just a guess based on earlier experience: are you are trying to run syslog-ng on an earlier CentOS / RHEL release? As Copr always uses the latest CentOS / RHEL release to compile packages. What it means that if a package was upgraded along the way in RHEL, then syslog-ng is compiled with a more recent version of Glib than available on an earlier RHEL release.

I'll take a closer look at it later this week.

Peter

Peter Czanik (CzP) <peter.czanik at oneidentity.com>
Balabit (a OneIdentity company) / syslog-ng upstream
https://syslog-ng.com/community/
https://twitter.com/PCzanik

________________________________
From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of Evan Rempel <erempel at uvic.ca>
Sent: Tuesday, February 8, 2022 18:41
To: syslog-ng at lists.balabit.hu <syslog-ng at lists.balabit.hu>
Subject: Re: [syslog-ng] syslog-ng 3.35.1-2.el7

CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.

Although that might be the actual requirement, the provided RPM does not reflect this


% rpm -ql --requires -p syslog-ng-3.35.1-2.el7.x86_64.rpm | grep -i glib

ld-linux-x86-64.so.2(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.8)(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libglib-2.0.so.0()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
librt.so.1(GLIBC_2.2.5)(64bit)

And i do not htink that version 2.32 is sufficient.
At the time of the install I am running an ansible playbook that starts with a minimal image of RHEL7

% cat /etc/redhat-release
Red hat Enterprise Linux Server release 7.3 (Maipo)

which contains the glib2 2.46

Installing the latest syslog-ng does not upgrade glib2
One of the major purposes of RPM is to ensure that a package can not be installed if the required components are not installed. The glib2 2.56 available at this point, so should have been upgraded to ensure that syslog-ng could run.

The error is

/usr/sbin/syslog-ng: symbol lookup error: /usr/lib64/libsyslog-ng-3.35.so.0: undefined symbol: g_ptr_array_find_with_equal_func

The lowest version of the glib2 package available on RHEL7 that allows syslog-ng 3.35 to start is glib2-2.54.2-2.el7.x86_64

# rpm -qi glib2
Name        : glib2
Version     : 2.54.2
Release     : 2.el7
Architecture: x86_64
Install Date: Tue 08 Feb 2022 09:39:20 AM PST
Group       : Unspecified
Size        : 11987361
License     : LGPLv2+
Signature   : RSA/SHA256, Wed 29 Nov 2017 04:02:25 AM PST, Key ID 199e2f91fd431d51
Source RPM  : glib2-2.54.2-2.el7.src.rpm
Build Date  : Fri 10 Nov 2017 04:40:23 AM PST
Build Host  : x86-041.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla><https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbugzilla.redhat.com%2Fbugzilla&data=04%7C01%7Cpeter.czanik%40oneidentity.com%7Cb9a99e49fa364fc2203908d9eb2a3778%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637799388851354461%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4cT3sIkbQ7CNbot8kLAWtKvm0iMu%2FlRTXkwz4cechXg%3D&reserved=0>
Vendor      : Red Hat, Inc.
URL         : http://www.gtk.org<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.gtk.org%2F&data=04%7C01%7Cpeter.czanik%40oneidentity.com%7Cb9a99e49fa364fc2203908d9eb2a3778%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637799388851354461%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3NVspwqwVX6RLbWQybr3dfMfzqhWFYcObuZBCQE0pxI%3D&reserved=0>
Summary     : A library of handy utility functions


Evan.

On 2022-02-08 08:22, Gabor Nagy (gnagy) wrote:
Notice: This message was sent from outside the University of Victoria email system. Please be cautious with links and sensitive information.

Hi Evan,

May I ask what version of glib2 do you have on that RHEL 7 system?
I'm only asking as we increased the minimum version of glib to 2.32 recently.

Don't get me wrong, the 'requires' field in the spec file is a good point, I just wanted to let you know about the minimum version also.

Regards,
Gabor




______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng<https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=04%7C01%7Cpeter.czanik%40oneidentity.com%7Cb9a99e49fa364fc2203908d9eb2a3778%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637799388851510672%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xOd%2Bgu9%2BK97yxbYCwYFqioJ1hQkx4sbUqVqNnfHenRI%3D&reserved=0>
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=04%7C01%7Cpeter.czanik%40oneidentity.com%7Cb9a99e49fa364fc2203908d9eb2a3778%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637799388851510672%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=a%2BOa03HRFTlj3ZSn2XLDF%2BoZL%2FoSgCIWRMAbmbGtdwY%3D&reserved=0>
FAQ: http://www.balabit.com/wiki/syslog-ng-faq<https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=04%7C01%7Cpeter.czanik%40oneidentity.com%7Cb9a99e49fa364fc2203908d9eb2a3778%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637799388851510672%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=AAePMl1t6cww6A1dHl%2FFObsjg7slV6OrvVWizIa2%2BdA%3D&reserved=0>




--
Evan Rempel                                         250.721.7691
Senior Systems Administrator                     erempel at uvic.ca<mailto:erempel at uvic.ca>
Data Centre Services, University Systems, University of Victoria

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20220208/08ef91b8/attachment-0001.htm>


More information about the syslog-ng mailing list