我正在嘗試讓 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 腳本來使用wget
或curl
發送 HTTPGET
請求。您也可以將其新增至cron
定期 ping 中。