Merhaba:

After a recent pacman upgrade, everytime i run a Python script, the following 
error is seen.

import: error while loading shared libraries: libxml2.so.2

A pacman query clearly shows 'libxml2' is installed as it's part of 'core' 
package. So, are the python3 binding for the libxml2 and libxslt libraries

core/libxml2 2.14.3-1     [installed]
extra/python-lxml 5.4.0-1 [installed]

Querying the installed libxml2 for the actual artifact shows as

libxml2 /usr/lib/libxml2.so
libxml2 /usr/lib/libxml2.so.16
libxml2 /usr/lib/libxml2.so.16.0.3

the filesystem layout of the files is as

:: ls -l /usr/lib/libxml2*
lrwxrwxrwx 1 root root      13 May 13 15:31 /usr/lib/libxml2.so -> 
libxml2.so.16*
lrwxrwxrwx 1 root root      17 May 13 15:31 /usr/lib/libxml2.so.16 -> 
libxml2.so.16.0.3*
-rwxr-xr-x 1 root root 1297360 May 13 15:31 /usr/lib/libxml2.so.16.0.3*

Has anyone else encountered this issue ? and if yes, did you do any RCA ?


warm regards
Saifi.

Reply via email to