我正在尝试让 DNS 为我的 odroid-C1 Ubuntu 工作,但是遇到了这个奇怪的问题,错误消息说符号查找错误,但我的 libjavascriptcoregtk-3.0 包是最新和最好的。有人可以指出我在这里做错了什么吗?
➜ ~ chmod +x duck-setup-gui.sh
➜ ~ ./duck-setup-gui.sh
* Duck DNS setup by The Fan Club - version 1.0
zenity: symbol lookup error: /usr/lib/arm-linux-gnueabihf/libjavascriptcoregtk-3.0.so.0: undefined symbol:
zenity: symbol lookup error: /usr/lib/arm-linux-gnueabihf/libjavascriptcoregtk-3.0.so.0: undefined symbol:
➜ ~ apt-get install libjavascriptcoregtk-3.0-0
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
➜ ~ sudo apt-get install libjavascriptcoregtk-3.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libjavascriptcoregtk-3.0-0 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
答案1
无论如何,这个问题已经很老了。这看起来像是一个二进制不兼容问题。
为什么不直接使用非常基本的 shell 脚本来发送 HTTP请求wget
呢?您也可以将其添加到定期 ping 中。curl
GET
cron