LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   error while loading shared libraries: libexpat.so.0: cannot open shared object file: (https://www.linuxquestions.org/questions/linux-general-1/error-while-loading-shared-libraries-libexpat-so-0-cannot-open-shared-object-file-4175471858/)

Naimbora 08-02-2013 08:42 AM

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

AlucardZero 08-02-2013 10:02 AM

Install libexpat using your specific distribution's package manager.

Ranamon 08-02-2013 01:53 PM

Quote:

Originally Posted by Naimbora (Post 5001593)
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.


All times are GMT -5. The time now is 09:28 AM.