Smartmontools: Error relocating /usr/sbin/smartctl

I have a external usb3 hdd (1TB unknown brand) connected to my generic x86 machine with ext4 filesystem. Recently I receive some errors:

Fri Dec 10 14:44:00 2021 kern.notice kernel: [369395.232965] EXT4-fs (sda1): error count since last fsck: 1
Fri Dec 10 14:44:00 2021 kern.notice kernel: [369395.233491] EXT4-fs (sda1): initial error at time 1617413302: mb_free_blocks:1457: block 139395072
Fri Dec 10 14:44:00 2021 kern.notice kernel: [369395.234292] EXT4-fs (sda1): last error at time 1617413302: mb_free_blocks:1457: block 139395072

I installed smartmontools, updated the drivedb.h, and tried to run a quick SMART check. But smartctl failed to start with error below:

root@OpenWrt:~# smartctl
Error relocating /usr/sbin/smartctl: _ZNSt19_Sp_make_shared_tag5_S_eqERKSt9type_info: symbol not found
Error relocating /usr/sbin/smartctl: _ZSt28__throw_bad_array_new_lengthv: symbol not found

Could anyone help me? Is this caused by a driver missing or how can I bypass the error?

opkg list-installed | grep -E '(libstd|^libc |smartmon|^base-files )'

Attached the results:

root@OpenWrt:~# opkg list-installed | grep -E '(libstd|^libc |smartmon|^base-files )'
base-files - 225-r3085-26721a994
libc - 1.1.24-2
libstdcpp6 - 8.4.0-2
smartmontools - 7.2-2
smartmontools-drivedb - 7.2-2
1 Like

OS not supported... either find 'windows 95' 2017 era additional packages or update your OS...

OK.. guess have to update firm then. Thank you for the reply.

1 Like