error while loading shared libraries: libicuuc.so.66(dfly v1.9.0)

After trying to upgrade today, I found an error when starting the instance: dragonfly-v19: error while loading shared libraries: libicuuc.so.66: cannot open shared object file: No such file or directory,I tried to check the installation of libicuuc.so:

shell $ sudo find / -name libicuuc.so.* /usr/lib/x86_64-linux-gnu/libicuuc.so.67 /usr/lib/x86_64-linux-gnu/libicuuc.so.67.1

The system is debian11. Trying to use ln -s /usr/lib/x86_64-linux-gnu/libicuuc.so.67 /usr/lib/x86_64-linux-gnu/libicuuc.so.66 to establish a soft connection does not solve the problem.

dragonfly-v19: symbol lookup error: dragonfly-v19: undefined symbol: _ZTIN6icu_668ByteSinkE

So I want to ask for help. At present, should I downgrade libicu at the user level, or the official version?

Hi, we already got a feedback on this issue, for now please continue using 1.8. We will create a patch 1.9.1 soon to fix this

copy that,thx.

Had the same error on Ubuntu 22.04. I worked around it by installing libicu66 from previous OS version (20.04)

not sure if it’s related but had a segfault on 1.9.0

*** SIGSEGV received at time=1694138974 on cpu 12 ***
PC: @     0x5602dcc4e3e3  (unknown)  facade::Connection::GetClientInfo[abi:cxx11]()

For now, back to 1.8.0

@resourceful-antelope do you have maybe a full log for this crash?

@inclusive-numbat this is how I run dragonfly (as the binary), is there a way to get the full log?

dragonfly --logtostderr --cache_mode=true  --bind 0.0.0.0 --port 40000 --dbfilename dragonfly_dump --dir ./data --dbfilename cache_data

No, it’s fine, I meant to get the output from that failure. I was wondering if this is the only thing that was printed

yeah, that’s the only thing i saw from the crash

these are the OS/Kernel specs

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy
uname -r
6.2.0-1011-gcp

Older packages will be hit or miss if they are build for another ubuntu distribution. Better option would be building from the source from https://packages.ubuntu.com/focal/libicu66 instead of using the older deb.

we dropped the icu dependency, we will release a better version next week