LinuxQuestions.org
Review your favorite Linux distribution.
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 06-10-2012, 08:24 PM   #1
heronlin
LQ Newbie
 
Registered: Jun 2012
Posts: 10

Rep: Reputation: Disabled
Synergy: executable not found when it is in /usr/bin


Installed Slackware package Synergy.

synergyc and synergys are in /usr/bin.

From shell, command: /usr/bin/synergyc [usual options]
response: no such file

The file exists, can be cat'd ls'd examined and poked in every which way, can be found by many things including chmod but gives 'no such file etc' when run. Is it looking for a config somewhere? Client shouldn't have to...

It's such a drag that every Linux flavour has a PITA of its own first out of the box. Slackware is great and I'd like to start using it again but I'm hooked on the ease of use that synergy gives to multiple system setups so I do need to get syergy working before I start twiddling with it.

I have done the full installation of Slackware, choosing Fluxbox. First thing tried was installation of synergy.
 
Old 06-10-2012, 08:36 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,346
Blog Entries: 2

Rep: Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978Reputation: 3978
May it be possible that you have installed a 32 bit version of Synergy on a 64 bit Slackware?
To see if the binary is 32 or 64 bit:
Code:
file /usr/bin/synergyc
To see if you have a 32 or 64 bit system:
Code:
uname -a
 
1 members found this post helpful.
Old 06-10-2012, 08:53 PM   #3
ljb643
Member
 
Registered: Nov 2003
Posts: 264

Rep: Reputation: Disabled
Another possible cause for the "file or directory not found" error when trying to run an executable is that the executable needs a specific program loader that isn't present. I've seen this with things built for "LSB" (linux standard base) - they require ld-lsb.so rather than the usual ld-linux.so to load. The message is unhelpful because it doesn't show you what was not found. If you are still stuck after using "file" as suggested above, try:
Code:
readelf -l /usr/bin/synergyc
and look for the line "Requesting program interpreter." That will tell you which loader it needs, and you can check to see if you have it.
 
Old 06-11-2012, 12:09 AM   #4
heronlin
LQ Newbie
 
Registered: Jun 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
May it be possible that you have installed a 32 bit version of Synergy on a 64 bit Slackware?
To see if the binary is 32 or 64 bit:
Code:
file /usr/bin/synergyc
To see if you have a 32 or 64 bit system:
Code:
uname -a
Thanks, it is 32 bit Synergy on 64 bit Slackware.

I am going to rpm2tgz any package that will supply libc.so.6(GLIBC_2.14)(64bit) which synergy-1.3.8-Linux-x86_64.rpm requires. Here's hoping glibc-2.15-37.fc17.x86_64.rpm will be the right one.

Before it can be tried, I need to clean install Slackware because I'm currently in dependency-hell having tried several wrong c++ lib packages. It's no problem because I'll only be losing the mess I just made.
 
Old 06-11-2012, 12:15 AM   #5
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

Rep: Reputation: 226Reputation: 226Reputation: 226
Ok You've broken everything.

1. Start again
2. Do NOT rpm2tgz anything that starts with glibc
3. You want to run 32bit apps on 64 bit slackware go here :- http://alien.slackbook.org/dokuwiki/...kware:multilib
4. Do NOT rpm2tgz anything that starts with glibc
5. Yes I repeated something perhaps it might be important that you take notice of that
 
1 members found this post helpful.
Old 06-11-2012, 12:31 AM   #6
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,377

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
I suggest you use a Slackbuild. http://slackbuilds.org/repository/13.../synergy-plus/
 
Old 06-11-2012, 01:14 AM   #7
heronlin
LQ Newbie
 
Registered: Jun 2012
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks for that. I think this contains part of what's required to run 64 bit Synergy on 64 bit Slackware:
glibc-2.14.1-x86_64-4.txz located in ftp://ftp.slackware.com/pub/slackwar...slackware64/l/.
I'll return and mark this solved if it works. Thanks to those who answered and a special thank you to those who read and did not snark.
 
Old 06-12-2012, 01:51 PM   #8
tnsantos
LQ Newbie
 
Registered: May 2012
Distribution: Slackware64
Posts: 5

Rep: Reputation: Disabled
The same happens to me, but with wine that I downloaded from http://connie.slackware.com/~alien/s...e/pkg64/13.37/.

I'm using slack64 current.
 
Old 06-12-2012, 01:55 PM   #9
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,380

Rep: Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839Reputation: 839
because wine is a 32bit application, to run it on a slackware64 host you need to go multilib

http://connie.slackware.com/~alien/multilib/

have a look at the instructions you will find at that address.
 
1 members found this post helpful.
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Executable won't run in /usr/bin m_yates Linux - Newbie 3 12-14-2011 09:18 AM
Executable removed from /usr/bin on restart. Rob001 Linux - Newbie 2 10-15-2009 08:11 AM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 08:33 AM
suse 9.2 - /usr/bin/[ Executable - what is this? nathanv117 Suse/Novell 3 01-23-2005 09:20 AM
Webmin: The Apache server executable /usr/local/apache2/bin does not exist hektor Linux - Software 0 01-14-2005 06:48 AM


All times are GMT -5. The time now is 11:11 PM.

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