LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 07-27-2010, 09:47 PM   #1
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Rep: Reputation: 107Reputation: 107
slackware doesn't recognize an executable


there's a program I have that doesn't really install, you extract it to its folder, cd into it, then ./filename to start it. It works fine on my Debian install. But when I do this on Slackware, it just says 'no such file or directory'. The file most definitely is there, since ls shows it. the filename is only three letters long so I know I'm not mistyping it. I've tried in user and su. Any idea why it won't run?
 
Old 07-27-2010, 09:53 PM   #2
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian
Posts: 7,350

Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
What program are you trying to install?
 
Old 07-27-2010, 09:54 PM   #3
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
its pSX, a Playstation emulator. It doesn't need to compile or install, it runs right out of the folder. Which is why I find it odd that it won't work in Slackware while working on Debian.
 
Old 07-27-2010, 10:12 PM   #4
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian
Posts: 7,350

Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
Quote:
Originally Posted by Cultist View Post
its pSX, a Playstation emulator. It doesn't need to compile or install, it runs right out of the folder. Which is why I find it odd that it won't work in Slackware while working on Debian.
I would guess that you are missing some dependencies in Slackware (possibly Gnome related) that are preventing the program from running. Try to find out what the program needs to run.
 
Old 07-27-2010, 10:14 PM   #5
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
dependencies shouldn't keep it from running at all, though. In Debian, it ran but gave me dependency errors til I fixed them, then it worked. In Slackware it just says that the file I'm trying to run doesn't exist.
 
Old 07-27-2010, 10:22 PM   #6
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Are you running a 32-bit executable on a 64-bit installation? `file filename` should tell you...

If you want to get a 32-bit executable running on Slackware64 then you would need Alien Bob's multilib stuff.
 
Old 07-27-2010, 10:24 PM   #7
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
yeah its a 32 bit app and I'm on a 64bit slackware, which is why it gave so much trouble in Debian
 
Old 07-27-2010, 10:54 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
See here for how to make Slackware64 multilib. Without it you will never get that app running, unless there is a 64-bit version.
 
Old 07-28-2010, 10:23 AM   #9
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,688
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by T3slider View Post
See here for how to make Slackware64 multilib. Without it you will never get that app running, unless there is a 64-bit version.
Now, the next step is to make your Slackware system one which can BUILD an application from source (maybe one you are developing) into both 32-bit and 64-bit Slackware packages, on the one machine (instead of doing parallel builds on separate Slackware(32) and Slackware64 systems).
 
Old 07-28-2010, 10:47 AM   #10
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
You may also want to check the perms to be sure it is marked executable.
 
Old 07-28-2010, 06:14 PM   #11
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
well, the app is closed-source, so I'm not compiling anything. It literally just runs off a file that untars in /home.

Would the multilib issue cause the file to not even be recognized as existing?
I made sure that its set to be executable, and using the icon does nothing, while trying to run in konsole just produces the No Such File Or Directory.
 
Old 07-28-2010, 06:29 PM   #12
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by Cultist View Post
Would the multilib issue cause the file to not even be recognized as existing?
Yes. Assuming the file is executable and you are running it properly, if there is an architecture mismatch it reports a missing file since it cannot find a properly executable command with that filename on the current system.
 
Old 07-28-2010, 06:29 PM   #13
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
You are trying to execute a 32 bit application on a 64 bit OS. The message is standard when doing this. As T3slider has told you - run file "file $filename" replacing filename with your faulty executable to confirm.













2 to ensure.

Last edited by bgeddy; 07-28-2010 at 06:32 PM.
 
Old 07-28-2010, 06:29 PM   #14
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,713

Rep: Reputation: 1392Reputation: 1392Reputation: 1392Reputation: 1392Reputation: 1392Reputation: 1392Reputation: 1392Reputation: 1392Reputation: 1392Reputation: 1392
Another program you could try is pcsxr, I use it and it works great. It's available over at http://slackbuilds.org/repository/13.1/games/pcsxr/ plus it runs natively in 64bit so you wont need the multilib packages to make it work.

Last edited by Daedra; 07-28-2010 at 06:39 PM.
 
Old 07-28-2010, 06:32 PM   #15
Cultist
Member
 
Registered: Feb 2010
Location: Georgia
Distribution: Slackware64 14.2
Posts: 779

Original Poster
Rep: Reputation: 107Reputation: 107
well crap. I was hoping to not have to do any major reconfigs to make this work. Thanks for the link though
 
  


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
[SOLVED] can not run executable files in slackware 13 seflyer Slackware 8 04-26-2010 05:01 PM
slackware 12.1 GSB executable system files Drakeo Slackware 2 01-11-2009 01:38 AM
gdb won't recognize 64 bit executable on my RedHat 64 bits box cerniagigante Programming 1 02-23-2006 01:36 AM
How do I get my Slackware os to recognize my cd burner? bearon50 Slackware 2 12-22-2003 07:41 PM

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

All times are GMT -5. The time now is 05:47 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