Synergy

Issue Tracker (powered by SPIT)

Bug #3150 - Source compiling error - Missing Library Xtst

Status:
Accepted
Priority:
High
Assignee:
None
Category:
Build
Target:
None
Found:
None
Created by:
Created on:
7 Apr 2012 02:12
Updated by:
Updated on:
25 Jul 2012 01:12
Platform:
None
Google ID:
None
Redmine ID:
3200

  • Duplicated by: Bug #3200 - hm config cannot find Xtst even when it is installed on Ubuntu x64 12.04

Steps to reproduce:

  1. cmake .

Expected: should make synergy
Actual: received an error:
CMake Error at CMakeLists.txt:218 (message):
Missing library: Xtst

-- Configuring incomplete, errors occurred!

Versions (Synergy, OS):

Server: OS: Suse; Synergy version: 1.4.7
Client 1: (not a usage problem

Workaround:

No;

Comments:

-------------------- I found Xtst on my system by using "%%%%%%%%%%%%%%%% locate Xtst" and output of that command is:

/usr/X11R6/lib/libXtst.a
/usr/X11R6/lib/libXtst.so
/usr/X11R6/lib/libXtst.so.6
/usr/X11R6/lib/libXtst.so.6.1
/usr/X11R6/lib64/libXtst.a
/usr/X11R6/lib64/libXtst.so
/usr/X11R6/lib64/libXtst.so.6
/usr/X11R6/lib64/libXtst.so.6.1


#1

7 Apr 2012 02:56: Linus Lu wrote a comment.

BTW: I read from some page taht it may be caused by missing libXext
so I also did a "%% locate Xext" and my system gives:
/usr/X11R6/include/X11/extensions/panoramiXext.h
/usr/X11R6/include/X11/extensions/Xext.h
/usr/X11R6/lib/libXext.a
/usr/X11R6/lib/libXext.so
/usr/X11R6/lib/libXext.so.6
/usr/X11R6/lib/libXext.so.6.4
/usr/X11R6/lib64/libXext.a
/usr/X11R6/lib64/libXext.so
/usr/X11R6/lib64/libXext.so.6
/usr/X11R6/lib64/libXext.so.6.4


3 May 2012 10:09: Sorin Sbârnea changed Category.

Build


3 May 2012 10:09: Sorin Sbârnea changed Assignee.

5


3 May 2012 10:09: Sorin Sbârnea changed Priority.

Normal High


#2

3 May 2012 10:09: Sorin Sbârnea wrote a comment.

I found the same problem, it's clear that libXtst detection is broken.

That was I found on my Ubuntu 12.04 x64:

/usr/lib/i386-linux-gnu/libXtst.so.6
/usr/lib/i386-linux-gnu/libXtst.so.6.1.0
/usr/lib/x8664-linux-gnu/libXtst.so.6
/usr/lib/x86
64-linux-gnu/libXtst.so.6.1.0

Linus, please specify your OS, version, cpu type.


#3

3 May 2012 11:04: Nick Bolton wrote a comment.

Works fine on the build machines.

http://buildbot.synergy-foss.org:8000/builders/1.4-linux32/builds/567
http://buildbot.synergy-foss.org:8000/builders/1.4-linux64/builds/581

Those are Ubuntu 10.04 though, so maybe it's a library versioning thing.


#4

4 May 2012 06:26: Linus Lu wrote a comment.

My system is SUSE 10 (2.6.16.60-0.58.1.1290-SMP) with gcc version 4.1.2
I am running on an older XEON based on core2 with 64b capability


#5

31 May 2012 19:57: Ian F wrote a comment.

Hi.

Running Ubuntu 12.04, and I'm experiencing pretty regular cores running synergys at startup, though it runs fine after that. It seems odd to me that a binary compiled on 2.6 would be distributed for platforms as new as 3.2.

I too experience this cmake bug in 12.04.


12 Jun 2012 16:12: Nick Bolton changed Tracker.

Support Bug


12 Jun 2012 16:12: Nick Bolton changed Status.

New Accepted


12 Jun 2012 16:12: Nick Bolton changed Target.

1.4.9


12 Jun 2012 16:12: Nick Bolton changed Assignee.

3


#6

19 Jun 2012 13:15: Andrzej Lawrynowicz wrote a comment.

I checked on ubuntu 12.4 and I can build synergy 1.4.8. Make sure that you have devel version libxtst-dev installed.

apt-get install libstst-dev


15 Jul 2012 00:49: Nick Bolton changed Target.

1.4.9 1.4.10


25 Jul 2012 01:12: Nick Bolton changed Target.

1.4.10


#7

23 Nov 2012 11:59: Stefano Lodi wrote a comment.

On openSUSE 12.2 Mantis I had a similar problem compiling synergy 1.4.10. I ran configure several times, installing incrementally the packages configure detected as missing, until I installed the development library libXtst-devel 1.2.1-2.1.2. For this particular library only, after its successful installation, configure still claimed it was not installed. The solution was to delete CMakeCache.txt and run configure again.