Hi Martin,

On Wed, Dec 21, 2022 at 07:29:19PM +0100, Martin Liška wrote:
> > What goes wrong is that this debian old stable arm setup has libzstd
> > containing a ZSTD_compressStream2 symbol...
> > 
> >     40: 0000d349   264 FUNC    GLOBAL DEFAULT   11 ZSTD_compressStream2
> > 
> > But the zstd.h header doesn't expose it...
> 
> Yeah, that's their way of how to move an API from "staging" into a stable 
> state.
> It was changed in:
> https://github.com/facebook/zstd/commit/d7d89513d6a21
> 
> and so it's present in zstd since 1.4.0. Can we somehow specify library 
> version
> in configure.ac?

It isn't as nice, but since there seems to be a pkgconfig libzstd.pc
you could use PKG_CHECK_MODULES. See for example how we check for
libcurl.

Cheers,

Mark

Reply via email to