LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AryaLinux (https://www.linuxquestions.org/questions/aryalinux-120/)
-   -   Problem to login after changing libexpat.so.1 (https://www.linuxquestions.org/questions/aryalinux-120/problem-to-login-after-changing-libexpat-so-1-a-4175583263/)

RAS-OS 06-28-2016 10:37 AM

Problem to login after changing libexpat.so.1
 
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?

Upuetz 06-28-2016 06:19 PM

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.

HTH
Upuetz

Upuetz 06-28-2016 06:21 PM

Afterthought:
you can see where libraries are expected (or missing) by typing this:
ldd $(which caja)

But maybe the ldconfig above fixed it already ;-)
Upuetz

chandrakant 06-28-2016 11:42 PM

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

That should resolve the issue.

chandrakant 06-29-2016 12:20 AM

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:

https://raw.githubusercontent.com/Fl...ibfilezilla.sh

You can download this to alps directory and then install filezilla, all of it can be done using the following commands:

wget https://raw.githubusercontent.com/Fl...ibfilezilla.sh
chmod a+x libfilezilla.sh
sudo mv libfilezilla.sh /var/cache/alps/scripts/
alps install libfilezilla filezilla

I believe that would make filezilla work.

RAS-OS 06-29-2016 07:17 AM

ldconfig solved the problem with login and Filezilla which now works.

RAS-OS 06-29-2016 07:20 AM

I would suggest to add the list of all the software which can be installed trough scripts.

ALso cryptsetup for Luks
Way to customize login or to make more like elementary currently is to simple
COnky manager


All times are GMT -5. The time now is 03:22 AM.