For me the build fails with:
[ 98%] Linking CXX executable btest
/usr/bin/ld: /usr/lib/libbfd.a(compress.o): undefined reference to symbol 'ZSTD_compress'
/usr/bin/ld: /usr/lib/libzstd.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Pinned Comments
edh commented on 2023-10-11 23:00 (UTC)
If you encounter errors similar to
error [...] loading shared libraries
, you most likely need to rebuilt the grive package. Usually no further action is needed except for forcing a rebuilt.The error is due to grive having been built against an older version of the library mentioned in the error message. The library has likely since been updated by
pacman
and grive need to be made aware of this by rebuilding it.