LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 08-02-2013, 09:42 AM   #1
Naimbora
LQ Newbie
 
Registered: Feb 2013
Posts: 3

Rep: Reputation: Disabled
error while loading shared libraries: libexpat.so.0: cannot open shared object file:


Hi all,

I was searching for a solution to the following problem;

error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

In another thread, I saw that people solved the problem creating a symbolic link to libexpat.so.1;

ln /lib/i386-linux-gnu/libexpat.so.1 libexpat.so.0

But my problem is, even the libexpat.so.1 doesn't exist in any of the other lib directories (i.e lib, lib32, lib64).

I would appreciate any comment, tip or help.

Thanks in advance,
Bora

Last edited by Naimbora; 08-02-2013 at 09:51 AM.
 
Old 08-02-2013, 11:02 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,664

Rep: Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537Reputation: 537
Install libexpat using your specific distribution's package manager.
 
Old 08-02-2013, 02:53 PM   #3
Ranamon
LQ Newbie
 
Registered: Feb 2013
Location: Land of Hopenchange
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
Quote:
Originally Posted by Naimbora View Post
Hi all,

ln /lib/i386-linux-gnu/libexpat.so.1 libexpat.so.0

But my problem is, even the libexpat.so.1 doesn't exist in any of the other lib directories (i.e lib, lib32, lib64).

I would appreciate any comment, tip or help.

Thanks in advance,
Bora
You don't have it. It's a dependency, and you need to go get it first: Expat

Compile it, or find a precompiled version that's compatible with whatever you're using, and install it. If compiling from source, you may need to run:

"/sbin/ldconfig" (no quotes, requires root privilege)

to register it with ld for linking.

Last edited by Ranamon; 08-02-2013 at 02:59 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
error while loading shared libraries: libgda-4.0.so.4: cannot open shared object file mahesh1234 Linux - Newbie 2 10-23-2013 12:06 AM
error while loading shared libraries: libstdc++.so.6: cannot open shared object file: vswapnasr@gmail.com Linux - Software 1 05-04-2013 07:49 AM
error while loading shared libraries: libtermcap.so.2: cannot open shared object file astroboy2000ir Linux - Software 3 12-08-2010 12:16 AM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 06:47 AM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 06:10 PM


All times are GMT -5. The time now is 01:12 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration