[systemd-devel] pcre in daemons
Armin K.
krejzi at email.com
Wed Feb 26 12:04:38 PST 2014
On 02/26/2014 08:54 PM, Thomas H.P. Andersen wrote:
> The todo says:
> "something pulls in pcre as shared object dependency into our daemons
> such as hostnamed"
>
> Normal buiild:
> ldd ./systemd-hostnamed
> linux-vdso.so.1 => (0x00007fff247bc000)
> libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f7ec47f7000)
> librt.so.1 => /lib64/librt.so.1 (0x00007f7ec45ef000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00007f7ec43ea000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f7ec41cd000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f7ec3e0e000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f7ec4a2f000)
> libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f7ec3ba7000)
> liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f7ec3982000)
>
>
> With --disable-selinux:
> $ ldd ./systemd-hostnamed
> linux-vdso.so.1 => (0x00007fff1a651000)
> librt.so.1 => /lib64/librt.so.1 (0x00007f1c058d0000)
> libdl.so.2 => /lib64/libdl.so.2 (0x00007f1c056cc000)
> libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f1c054ae000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f1c050ef000)
> /lib64/ld-linux-x86-64.so.2 (0x00007f1c05aec000)
>
> Not sure what to do about that though...
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
You have answered your own question. libselinux is linked to pcre and
thus it's pulling it. It's not a direct dependency though (not
explicitly linked).
--
Note: My last name is not Krejzi.
More information about the systemd-devel
mailing list