LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2007, 03:31 AM   #1
greigster
LQ Newbie
 
Registered: Oct 2003
Location: Norway
Distribution: Suse 8.x
Posts: 21

Rep: Reputation: 15
libexpat.so.0: cannot open shared object file


System :
OS: Suse Linux 10.3
HW: DELL PE2950 Xeon 5130 2.0GHz/4MB 1333FSB
SW: UIM/X 3.0.34

After installing a program (UIM/X 3.0.34) I try to run it and I get this error:

root@vilje> uimx
uimx: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory

LDD:
ldd /opt/uimx3.0/bin/uimx
root@vilje> ldd /opt/uimx3.0/bin/uimx
linux-gate.so.1 => (0xffffe000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7ddf000)
libXm.so.4 => /usr/lib/libXm.so.4 (0xf7b8e000)
libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0xf7b86000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xf7b78000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xf7b23000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xf7a27000)
libdl.so.2 => /lib/libdl.so.2 (0xf7a23000)
libm.so.6 => /lib/libm.so.6 (0xf79fd000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf79f1000)
libc.so.6 => /lib/libc.so.6 (0xf78c3000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xf78be000)
/lib/ld-linux.so.2 (0xf7efc000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0xf78a8000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0xf7896000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf782a000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf77ff000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0xf77f6000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xf77d6000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xf77b2000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xf77a9000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xf7792000)
libexpat.so.0 => not found
libz.so.1 => /lib/libz.so.1 (0xf777e000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xf775d000)


#cat /etc/ld.so.conf :
/opt/kde3/lib
/opt/gnome/lib
/lib64
/lib
/usr/lib64
/usr/lib
/usr/local/lib64
/opt/kde3/lib64
/opt/gnome/lib64
include /etc/ld.so.conf.d/*.conf

root@vilje> ll /usr/lib/libexpat.*
-rw-r--r-- 1 root root 157428 Nov 25 13:19 /usr/lib/libexpat.a
lrwxrwxrwx 1 root root 17 Mar 5 09:58 /usr/lib/libexpat.so -> libexpat.so.1.5.0
lrwxrwxrwx 1 root root 17 Mar 5 09:58 /usr/lib/libexpat.so.1 -> libexpat.so.1.5.0
-rwxr-xr-x 1 root root 128760 Nov 25 13:19 /usr/lib/libexpat.so.1.5.0

root@vilje> ll /usr/lib64/libexpat.*
-rw-r--r-- 1 root root 250692 Nov 25 12:42 /usr/lib64/libexpat.a
lrwxrwxrwx 1 root root 17 Mar 5 09:58 /usr/lib64/libexpat.so -> libexpat.so.1.5.0
lrwxrwxrwx 1 root root 17 Apr 12 09:55 /usr/lib64/libexpat.so.0 -> libexpat.so.0.5.0
-rwxr-xr-x 1 root root 142056 Nov 26 03:17 /usr/lib64/libexpat.so.0.5.0
lrwxrwxrwx 1 root root 17 Mar 5 09:58 /usr/lib64/libexpat.so.1 -> libexpat.so.1.5.0
-rwxr-xr-x 1 root root 145872 Nov 25 12:42 /usr/lib64/libexpat.so.1.5.0

Expat version 2.0.0-32 is installed.
compat-expat1 : 1.95.8-26



best regards
Thomas Greig
 
Old 04-17-2007, 03:40 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i would personally try creating a symlink from /usr/lib/libexpat.so.1.5.0 to /usr/lib/libexpat.so.0 outwardly this would appear to be lying about versions, but often it doesn't actually care. if that doesn't resolve problems, you may be able to find another older compat-expat package...
 
Old 04-17-2007, 03:46 AM   #3
greigster
LQ Newbie
 
Registered: Oct 2003
Location: Norway
Distribution: Suse 8.x
Posts: 21

Original Poster
Rep: Reputation: 15
Thanx for quick answer. Unfortunately this link already exists..

root@vilje> ls -l libex*
-rw-r--r-- 1 root root 157428 Nov 25 13:19 libexpat.a
lrwxrwxrwx 1 root root 17 Mar 5 09:58 libexpat.so -> libexpat.so.1.5.0
lrwxrwxrwx 1 root root 17 Mar 5 09:58 libexpat.so.1 -> libexpat.so.1.5.0
-rwxr-xr-x 1 root root 128760 Nov 25 13:19 libexpat.so.1.5.0
-rw-r--r-- 1 root root 83326 Nov 25 14:00 libexslt.a
-rw-r--r-- 1 root root 912 Nov 25 14:00 libexslt.la
lrwxrwxrwx 1 root root 18 Mar 7 10:02 libexslt.so -> libexslt.so.0.8.13
lrwxrwxrwx 1 root root 18 Mar 5 09:59 libexslt.so.0 -> libexslt.so.0.8.13
-rwxr-xr-x 1 root root 68060 Nov 25 14:00 libexslt.so.0.8.13


Edit:
hmm.. after reading your post acouple of more times I started thinking.. do you mean the other way around maybe?..

Last edited by greigster; 04-17-2007 at 03:48 AM.
 
Old 04-17-2007, 03:55 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
the link clearly doesn't exist at all, re read your ls output... i guess you could read it as the other way round, essentially it's a case of running "ln -s /usr/lib/libexpat.so.1.5.0 /usr/lib/libexpat.so.0"
 
Old 04-17-2007, 04:02 AM   #5
greigster
LQ Newbie
 
Registered: Oct 2003
Location: Norway
Distribution: Suse 8.x
Posts: 21

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
the link clearly doesn't exist at all, re read your ls output... i guess you could read it as the other way round, essentially it's a case of running "ln -s /usr/lib/libexpat.so.1.5.0 /usr/lib/libexpat.so.0"

my bad.. aparently its still too early for me
I made the link and now I'm one step closer to solution!!
thank you very much for your awareness and working eyesight!!

best regards
Thomas Greig
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libstdc++.so.5: cannot open shared object file: Franziss Linux - Newbie 10 06-28-2010 05:47 AM
libssl.so.5: cannot open shared object file chandramani Linux - Server 2 03-15-2007 10:32 AM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM
cannot open shared object file barells Linux - Software 2 07-16-2005 07:53 AM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:36 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
Open Source Consulting | Domain Registration