LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux
User Name
Password
AryaLinux This forum is for the discussion of AryaLinux.

Notices


Reply
  Search this Thread
Old 06-28-2016, 10:37 AM   #1
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Rep: Reputation: Disabled
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?
 
Old 06-28-2016, 06:19 PM   #2
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 06-28-2016, 06:21 PM   #3
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
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
 
Old 06-28-2016, 11:42 PM   #4
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
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.
 
Old 06-29-2016, 12:20 AM   #5
chandrakant
AryaLinux Maintainer
 
Registered: Aug 2014
Posts: 195

Rep: Reputation: Disabled
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.
 
Old 06-29-2016, 07:17 AM   #6
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
ldconfig solved the problem with login and Filezilla which now works.
 
Old 06-29-2016, 07:20 AM   #7
RAS-OS
Member
 
Registered: Jun 2016
Posts: 63

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with changing /etc/login.defs LuxLuv Linux - Newbie 3 05-05-2015 10:01 PM
libexpat problem shariefbe Linux - Software 8 02-18-2010 03:36 AM
libexpat.so.1 yannifan Linux - General 2 02-28-2007 03:00 AM
where i can download libexpat.so.1 icoming Linux - Software 3 10-03-2006 09:13 PM
Need help changing graphical login to regular login jnezezon Linux - Newbie 2 11-13-2003 09:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > AryaLinux

All times are GMT -5. The time now is 01:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration