LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 08-24-2011, 03:32 PM   #1
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 326

Rep: Reputation: 25
cannot open shared object file: No such file or directory - but the file is there!


I am trying to run a program (epsxe, a play station emulator) and I get:

libgtk-1.2.so.0: cannot open shared object file: No such file or directory

And yet, if I look in /usr/lib64, I see libgtk-1.2.so.0 which links to libgtk-1.2.so.0.9.1, which is also there.

So, I'm not quite sure what it is telling me. Why would it say the file is not there, when it is? More importantly, what can I do so that it sees the file? I have had this happen with other programs as well, but not really sure if it is the fault of the program, or something on my system.

Slackware current 64 bit, as of yesterday.
 
Old 08-24-2011, 03:36 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
I think you are trying to run 32bit binaries on a 64bit system, so you need to go multilib.

you can verify it with a
Code:
file $(which epsxe)
 
Old 08-24-2011, 04:07 PM   #3
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 326

Original Poster
Rep: Reputation: 25
file $(which epsxe) gives:

/opt/epsx/epsxe: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

I have multilib installed, have had it for a while. I updated everything to slackware current 64 bit two days ago, and I also downloaded the current multilib. AFAIK it's working because I'm using 23 bit wine, and it compiles and runs my windows programs fine.
 
Old 08-24-2011, 04:16 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
ah, sorry, I haven't seen he's looking for the 32bit gtk-1 library, that isn't part of the standard compat32 set, but you can easily convert the slackware current package with
Code:
convertpkg-compat32 -i gtk+-1.2.10-i486-5.txz
and then install the resulting package.

EDIT: you will need to do the same with the glib-1 package.

Last edited by ponce; 08-24-2011 at 04:29 PM.
 
Old 08-24-2011, 05:05 PM   #5
Ook
Member
 
Registered: Apr 2004
Location: Hell, Arizona
Distribution: Slackware 14.1
Posts: 326

Original Poster
Rep: Reputation: 25
Wow, that worked perfectly! I have a few other programs I've seen this happen to, I think I'll try to find them and see if I can likewise get them going.

Thanks
 
Old 08-24-2011, 05:13 PM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
you're welcome
don't forget to mark the thread as [SOLVED]
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libldap.so.2 cannot open shared object file- No such file or directory fuhrermasai Linux - Newbie 3 12-02-2010 11:41 PM
libpng12.so.0: cannot open shared object file: No such file or directory MTK358 Linux - Newbie 12 02-15-2010 01:52 PM
libdb_java-4.5.so: cannot open shared object file: No such file or directory jimmyjiang Red Hat 1 09-02-2007 05:02 AM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 01:02 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM


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

Main Menu
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