[SOLVED] Problem to login after changing libexpat.so.1
AryaLinuxThis forum is for the discussion of AryaLinux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I did have problem to start filezilla error while loading shared libraries: libfilezilla.so.0: cannot open shared object file: No such file or directory
so I tried to find the solution on line which screw up my system . I do not remember exactly what was the command but I believe it was something that changed from libexpat.so.0 to libexpat.so.1 it involved ln - f something
su to root, and
ln -sf /usr/lib/libexpat.so.{0,1}
so now i have this
caja: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
caja: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
mate-control-center: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
log was read from elementary.
How to make it work?
Your command
ln -sf ...
linked /usr/lib/libexpat.so.0 to /usr/lib/libexpat.so.1
So, in a way, libexpat.so.1 is a copy of 0.
There a paths where libraries are searched for. When normally libexpat.so.1 was in a path in the list after /usr/lib, now it doesn't get found.
Try this (simply type it as root or with sudo in front and hit enter):
ldconfig
That refreshes the cache where libraries are to be found. *Maybe* that fixes your problem.
As suggested by Upuetz, did ldconfig solve the problem? In case that does not fix the problem then try reinstalling expat:
wget prdownloads.sourceforge.net/expat/expat-2.1.1.tar.bz2
tar xf expat-2.1.1.tar.bz2
cd expat-2.1.1
./configure prefix = / usr --disable-static
make
sudo make install
cd ..
rm -rf expat-2.1.1*
sudo ldconfig -v
And what was the issue with starting filezilla? Were you facing the issue while building filezilla or build was successful but while opening you were facing issues? FYI, libfilezilla is a dependency of filezilla that needs to be installed before installing filezilla. Here is the script for the same:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.