Today I installed Acrobat Reader from the website, but it fails to run. When I try to run it from the command line, I get:
jdibling@hurricane /opt/Adobe/Reader9/bin $ ./acroread /opt/Adobe/Reader9/Reader/intellinux/bin/acroread: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
However, libxml2 is installed and in the expected location:
root@hurricane /usr # find . -name "libxml2.so.2" ./lib/x86_64-linux-gnu/libxml2.so.2
I noticed that
LD_LIBRARY_PATH is not set:
jdibling@hurricane /opt/Adobe/Reader9/bin $ echo $LD_LIBRARY_PATH jdibling@hurricane /opt/Adobe/Reader9/bin $
I'm guessing that this is either the problem, or an indicator of the problem.
I'm not super familiar with how this variable is set under Ubuntu, but I have an inkling that is is done via
/etc/ld.so.conf.d/ in some way:
root@hurricane /etc/ld.so.conf.d # grep "lib/x86_64-linux-gnu" * x86_64-linux-gnu.conf:/lib/x86_64-linux-gnu x86_64-linux-gnu.conf:/usr/lib/x86_64-linux-gnu root@hurricane /etc/ld.so.conf.d #
The chance that at some point I broke my system is greater than zero, but I'm lost as to where to go from here to troubleshoot and fix this problem. What can I do?