Re: syslog-ng 3.35.1-2.el7

Evan Rempel <[email protected]>
Newsgroups gmane.comp.syslog-ng
Message-ID <[email protected]>
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>
Vendor      : Red Hat, Inc.
URL         : http://www.gtk.org
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
> Documentation:http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ:http://www.balabit.com/wiki/syslog-ng-faq
>

-- 
Evan Rempel                                         250.721.7691
Senior Systems [email protected]
Data Centre Services, University Systems, University of Victoria

______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.