Soffice convert ppt to pdf , libxml2.so.2 no version information available?

hi
when i run
soffice --headless --invisible --norestore --nolockcheck --convert-to pdf --outdir /tmp tmp/dump.ppt

it told me:
/usr/lib/libreoffice/program/soffice.bin: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/libreoffice/program/libsfxlo.so)
/usr/lib/libreoffice/program/soffice.bin: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/libreoffice/program/…/ure-link/lib/libjvmfwk.so.3)

I have checked the /usr/local/lib/libxml2.so.2 it is over there.

Did anyone encount same problem? And how to fix it? thank you!

It is likely you have multiple versions of libxml2.so.2 on your system and you need to either clean out the old ones, or ensure LO picks up an appropriate one. This AskUbuntu thread offers a possible solution.