FS#76962 - [syslog-ng] Missing runtime dependency : pcre

Attached to Project: Arch Linux
Opened by Julien (ganymede) - Friday, 30 December 2022, 12:44 GMT
Last edited by Florian Pritz (bluewind) - Sunday, 09 July 2023, 16:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Florian Pritz (bluewind)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
syslog-ng depends on pcre, please add pcre to dependencies

Additional info:

* package version(s) : latest (3.38.1-3)

* config and/or log files etc. :
# ldd /usr/bin/syslog-ng
linux-vdso.so.1 (0x0000653a46b3f000)
libsyslog-ng-3.38.so.0 => /usr/lib/libsyslog-ng-3.38.so.0 (0x0000653a46a39000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x0000653a468fa000)
libc.so.6 => /usr/lib/libc.so.6 (0x0000653a46713000)
libm.so.6 => /usr/lib/libm.so.6 (0x0000653a4662b000)
libevtlog-3.38.so.0 => /usr/lib/libevtlog-3.38.so.0 (0x0000653a46624000)
libcap.so.2 => /usr/lib/libcap.so.2 (0x0000653a46618000)
libpcre.so.1 => /usr/lib/libpcre.so.1 (0x0000653a4659c000)
libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x0000653a464c0000)
libsecret-storage.so.0 => /usr/lib/libsecret-storage.so.0 (0x0000653a464ba000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x0000653a464b3000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x0000653a464ae000)
libssl.so.3 => /usr/lib/libssl.so.3 (0x0000653a4640e000)
libcrypto.so.3 => /usr/lib/libcrypto.so.3 (0x0000653a45e00000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x0000653a46b41000)
libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x0000653a46371000)
libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x0000653a45cb8000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0x0000653a4633e000)
libzstd.so.1 => /usr/lib/libzstd.so.1 (0x0000653a46295000)
liblz4.so.1 => /usr/lib/liblz4.so.1 (0x0000653a46271000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x0000653a46251000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x0000653a45c92000)

* Steps to reproduce:
If pcre is not installed on the system, 'systemctl start syslog-ng@default.service" fails with :
/usr/bin/syslog-ng: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
This task depends upon

Closed by  Florian Pritz (bluewind)
Sunday, 09 July 2023, 16:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  syslog-ng 4.2.0-1
Comment by Toolybird (Toolybird) - Friday, 30 December 2022, 21:48 GMT
pcre gets pulled in via "net-snmp" then subsequently gets linked into all the plugins.
Comment by Sam (waxymouthfeel) - Thursday, 09 February 2023, 14:23 GMT
Can confirm this is still an issue.
Comment by loqs (loqs) - Thursday, 09 February 2023, 15:45 GMT
syslog-ng can not be rebuilt until librdkafka 2.0.3 is released and packaged or the current release has its rdkafka.pc manually fixed.

https://github.com/confluentinc/librdkafka/issues/4155
Comment by bgh (bgh) - Monday, 12 June 2023, 00:28 GMT
Could this please be rebuilt now that the latest librdkafka release and package in Extra is at 2.1.1 (which includes libcurl pkg-config fix)?

Loading...