Bug #3150 - Source compiling error - Missing Library Xtst
- Duplicated by: Bug #3200 - hm config cannot find Xtst even when it is installed on Ubuntu x64 12.04
Steps to reproduce:
- 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
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
#2
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/x8664-linux-gnu/libXtst.so.6.1.0
Linus, please specify your OS, version, cpu type.
#3
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
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
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.
#6
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
#7
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.
Write comment