-
-
Notifications
You must be signed in to change notification settings - Fork 329
Open
Description
$ c3c compile hello.c3
c3c: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
fix identified
thomas@sterling:~/Documents/development/c3/hello$ sudo ldconfig -p | grep libxml
libxml2.so.16 (libc6,x86-64) => /lib/x86_64-linux-gnu/libxml2.so.16
libxml2.so.16 (libc6) => /lib/i386-linux-gnu/libxml2.so.16
libxml2.so (libc6,x86-64) => /lib/x86_64-linux-gnu/libxml2.so
libxmlb.so.2 (libc6,x86-64) => /lib/x86_64-linux-gnu/libxmlb.so.2
thomas@sterling:~/Documents/development/c3/hello$ sudo ln -s /lib/x86_64-linux-gnu/libxml2.so.16 /lib/x86_64-linux-gnu/libxml2.so.2
and working:
thomas@sterling:~/Documents/development/c3/hello$ c3c compile hello.c3
c3c: /lib/x86_64-linux-gnu/libxml2.so.2: no version information available (required by c3c)
c3c: /lib/x86_64-linux-gnu/libxml2.so.2: no version information available (required by c3c)
Program linked to executable './hello'.
thomas@sterling:~/Documents/development/c3/hello$
i am raising this as perhaps it is worth noting somewhere. this is likely affecting multiple distros (i tested on debian and no issue
Metadata
Metadata
Assignees
Labels
No labels