You are not logged in.
Pages: 1
Running zstd (latest version 1.5.2-7 from arch repositories) gives this error.
Error : incorrect library version (expecting : 1.5.2 ; actual : 1.4.4 )
Please update library to version 1.5.2, or use stand-alone zstd binaryHow to fix this?
Last edited by desperado (2022-07-04 19:55:51)
Offline
If you get that output then you are not running the correct zstd binary/or library, what's your output of
type -a zstd
ldd $(type -a zstd)Last edited by V1del (2022-07-04 17:18:29)
Offline
I was using pyenv.
$ type -a zstd
zstd is /home/user/.pyenv/shims/zstd
zstd is /usr/bin/zstd
$ ldd /usr/bin/zstd
linux-vdso.so.1 (0x00007ffe69bca000)
libzstd.so.1 => /opt/ros2/rolling/lib/libzstd.so.1 (0x00007ff8206cb000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007ff820400000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007ff820685000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007ff8207a3000)I tried running /usr/bin/zstd explicitly and still got the same error, so I didn't mention pyenv.
Last edited by desperado (2022-07-04 19:07:14)
Offline
Your general library path is all sorts of screwed up. You are resolving the lib for the ros2 distribution. Make sure LD_LIBRARY_PATH/LD_PRELOAD and the like are not globally overwritten/set. Not all too familiar with ros2 and whether it has some isolated runtime environment you should properly start/exit out of or whether this is globally set, in which case you'd have to prevent that.
Last edited by V1del (2022-07-04 19:11:46)
Offline
Thank you, problem has been solved.
There's a ros2 path setup script which I (shouldn't have) run from the rc files.
Offline
Pages: 1