I was trying to install apache using the following url
Compiling and Installing - Apache HTTP Server
when I try to start http it prompts me the following error
oracle@localhost httpd-2.4.4]$ su -c '/usr/local/apache2/bin/apachectl -k start'
Password:
/usr/local/apache2/bin/httpd: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory
I did the following to find out whether the file is in the directory or not
[oracle@localhost httpd-2.4.4]$ ls -lrth /usr/lib/libexpat.so
lrwxrwxrwx. 1 root root 17 Apr 26 14:25 /usr/lib/libexpat.so -> libexpat.so.0.5.0
so how should I resolve the above error?
thanks