Apart from a few code OS libraries, almost always when this happens it's
due to OS provided devel headers (or just libraries) that accidentally
enables a conditional configuration option in the software).
Probably happens in a whole bunch of places.
Try to keep the build hosts minimal, in particular with devel headers.
Consider building via a more minimal container image if you can't clean up
the host directly.

Best regards, Mikael


On Fri, Mar 31, 2023 at 11:42 AM Loris Bennett <[email protected]>
wrote:

> Hi,
>
> R 4.1.2 didn't depend on poppler:
>
>   $ ldd
> /trinity/shared/easybuild/software/R/4.1.2-foss-2021b/lib64/R/library/sf/libs/sf.so
> | grep poppler
>   $
>
> but R 4.2.2 does:
>
>   $ ldd
> /trinity/shared/easybuild/software/R/4.2.2-foss-2022b/lib64/R/library/sf/libs/sf.so
> | grep poppler
>           libpoppler.so.46 => /lib64/libpoppler.so.46 (0x00002aaaaf375000)
>   $
>
> Is a dependency on poppler missing in the EC or it it expected that the OS
> provides poppler?
>
> Cheers,
>
> Loris
>
> --
> Dr. Loris Bennett (Herr/Mr)
> ZEDAT, Freie Universität Berlin
>

Reply via email to