当下面的代码在Windows 7中运行时,它会以土耳其语给出这个月,而在Linux中它会给出一个月的英语:
new SimpleDateFormat("dd MMMMMM", new Locale("tr")).format(date);
Windows 7- 23 Ağustos
Linux -8月23日
我也想要一个月的土耳其版Linux!
我该怎么做?
在尝试运行GLIBCXX版本时,我在同一台机器上编译、链接和运行的程序怎么可能出现错误呢?有人知道吗?
下面是我遇到的错误:
0.01s$ build/test/gamgee_test
build/test/gamgee_test: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by build/test/gamgee_test)
build/test/gamgee_test: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: v
我有一个C++应用程序,它充当TCL/TK的解释器。tms是针对TCL/TK8.4编制的。
我需要在一个只安装了TCL/TK8.5的环境中运行这个程序。
当我在TCL/TK8.5系统上运行应用程序时,会得到以下错误:
tms: error while loading shared libraries: libtk8.4.so: cannot open shared object file: No such file or directory
tms是使用g++以及-ltcl8.4和-ltk8.4标志在Linux上编译的。
昨天(7月30日),我在/var/log/syslog中找到了以下内容
Dec 16 22:54:05 omap ntpdate[432]: step time server 91.189.94.4 offset 12052648.821465 sec
日期91.189.94.4“修正了我的时钟从7月30日至12月16日!”据http://www.pool.ntp.org/scores/91.189.94.4称,该服务器的关机时间不超过2ms。
现在,我确实有了一个脚本,它在系统启动时调用date命令,以便以~1s的精度设置时钟。从本地网络读取粗时间,并调用date来设置时间。我必须这样做,因