synergy: error while loading shared libraries: libdns_sd.so.1: cannot open shared object file:

在Ubuntu 16.04上使用deb文件安装Synergy时报错,解决过程如下:

安装时提示安装失败,在命令行中打开软件时提示

yang@work:~$ synergy
synergy: error while loading shared libraries: libdns_sd.so.1: cannot open shared object file: No such file or directory

按照https://sourceforge.net/p/beebeep/tickets/118/提示的方案,在命令行输入:

sudo apt-get install libqt4-dev libqt4-core libqt4-gui libqt4-xml libxcb-screensaver0 libavahi-compat-libdnssd1 libphonon4 libhunspell-dev

# 但是最后还是会提示两个错误
E: Unable to locate package libqt4-core
E: Unable to locate package libqt4-gui

说明安装包名过时(或不存在了)。 按照类似名称搜索安装:

sudo apt-get install libqt#利用tab键补全功能得到
Display all 206 possibilities? (y or n)

#找到了这两个相似名称
libqt5gui5    libqt5core5a 
yang@work:~/$ sudo apt-get install libqt5gui5 libqt5core5a
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt5core5a is already the newest version (5.5.1+dfsg-16ubuntu7.5).
libqt5core5a set to manually installed.
libqt5gui5 is already the newest version (5.5.1+dfsg-16ubuntu7.5).
libqt5gui5 set to manually installed.
You might want to run ‘apt-get -f install‘ to correct these:
The following packages have unmet dependencies:
 synergy : Depends: libavahi-compat-libdnssd1 (>= 0.6.25) but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install‘ with no packages (or specify a solution).

得到提示

“ Try ‘apt-get -f install‘ with no packages (or specify a solution) ”

yang@work:~$ sudo apt-get -f install

依赖项就安装完毕了,可以正常打开synergy。

One more problem:

第一次使用synergy客户端,始终提示连接不上服务器端

WARNING: failed to connect to server: Timed out
NOTE: connecting to ‘10.xx.xx.xxx‘:
INFO: OpenSSL 1.0.2g  1 Mar 2016
ERROR: ssl error occurred (generic failure)
ERROR: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
ERROR: failed to connect secure socket

或者这样的

failed to connect secure socket
INFO: stopping synergy desktop process
INFO: process exited normally

原因是软件有一个地方需要设置:

将软件最大化,才能在左上角看到 Edit选项:

在 Edit -> Setting 中,把 Use SSL encryption 的勾选取消掉:

Server 和 Client 都这样设置,然后 Apply, Stop, Start, 就可以了。

原文地址:https://www.cnblogs.com/heifengli/p/10400231.html

时间: 2024-08-27 14:11:51

synergy: error while loading shared libraries: libdns_sd.so.1: cannot open shared object file:的相关文章

启动MongoDB时,提示:error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

启动MongoDB时,提示: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory [[email protected] ~]# /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/data --logpath /usr/local/mongodb/logs/mon

error while loading shared libraries: libiksemel.so.3: cannot open shared...

zabbix服务启动出问题 报错:error while loading shared libraries: libiksemel.so.3: cannot open shared ... 解决办法: 执行 ldconfig

gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

org.im4java.core.CommandException: org.im4java.core.CommandException: /usr/local/bin/gm: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory 原因:GraphicsMagick-LATEST17.tar.gz 安装 错误,无法访问libpn

error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such

启动zabbix_server出现如题错误,差点没晕死过去,从前一直没出现,这种错误其实工作上已经遇到过无数次了,但是每次的没有好好记录总结一些,导致每次遇到都需要傻乎乎的跑到网上->百度,方可解决.今天特地针对这个小问题写一篇错误记录博客,日后遇到方可快速查看. 执行命令 cd /usr/local/mysql/lib/ ll libmysqlclient.so 发现有  libmysqlclient.so -> libmysqlclient.so.18 于是 ln -s /usr/loca

error while loading shared libraries: libssl.so.6: cannot open shared object file

[[email protected] ~]# /usr/local/nagios/libexec/check_tcp -H 127.0.0.1 80 /usr/local/nagios/libexec/check_tcp: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory 关联库文件:发现libssl.so.6 => not fo

error while loading shared libraries: libpcre.so.1: cannot open shared object file

执行启动nginx:/usr/local/nginx/sbin/nginx 错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 查找:[[email protected] lib]# find /-type f -name *libpcre.so.* 执行:[[ema

centos6.9安装xampp后报错:egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

1.centos6.9安装xampp(xampp-linux-x64-7.0.21-0-installer.run)后启动的时候,报错: egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directoryegrep: error while loading shared libraries: libc.so.6: cannot open

error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file

安装rac10g,出现如下错误: [[email protected] oracle]# /u01/product/crs/root.sh WARNING: directory '/u01/product' is not owned by root Checking to see if Oracle CRS stack is already configured /etc/oracle does not exist. Creating it now. Setting the permission

error while loading shared libraries: libreadline.so.5: cannot open shared object file:

错误信息: ftp: error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory 解决办法: yum install -y readline-devel readline [[email protected] ~]# cd /usr/lib64/ [[email protected] lib64]# ll *libreadline