When compiling from source using system library, upon make, I get this fatal error:
/usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/libzstd.a(zstd_compress.o): in function `ZSTD_compressSequences':
zstd_compress.c:(.text+0x10abc): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/libzstd.a(zstd_compress.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ZSTD_copySequencesToSeqStoreNoBlockDelim' which may bind externally can not be used when making a shared object; recompile with -fPIC
zstd_compress.c:(.text+0x10c64): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/libzstd.a(zstd_compress.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ZSTD_copySequencesToSeqStoreExplicitBlockDelim' which may bind externally can not be used when making a shared object; recompile with -fPIC
zstd_compress.c:(.text+0x10c78): dangerous relocation: unsupported relocation
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/12/../../../aarch64-linux-gnu/libzstd.a(zstd_compress.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `ZSTD_copySequencesToSeqStoreExplicitBlockDelim' which may bind externally can not be used when making a shared object; recompile with -fPIC
zstd_compress.c:(.text+0x1116c): dangerous relocation: unsupported relocation
collect2: error: ld returned 1 exit status
make: *** [Makefile:215: zstd.la] Error 1
When compiling from source using system library, upon
make
, I get this fatal error: