Getting errors after fresh install

I am getting the following errors when attempting this command:
soffice --headless --convert-to pdf sample.doc --outdir /tmp
Errors:
/opt/libreoffice6.2/program/soffice.bin: /lib64/libdbus-1.so.3: no version information available (required by /opt/libreoffice6.2/program/libmergedlo.so)

/opt/libreoffice6.2/program/soffice.bin: symbol lookup error: /opt/libreoffice6.2/program/libmergedlo.so: undefined symbol: cairo_surface_get_device_scale

OS is Amazon Linux (Centos)
I am using Libreoffice’s latest version 6.2.2.2

I am getting same error, still not getting any answer for my blog needsguide.com so who will answer here? need help badly, someone comes here and rescues it.