OpenCC: Difference between revisions
Jump to navigation
Jump to search
m
→Troubleshootings
m (→Usage) |
|||
| Line 57: | Line 57: | ||
== Troubleshootings == | == Troubleshootings == | ||
=== cmake: command not found === | === cmake: command not found on CentOS === | ||
Error message: | Error message: | ||
<pre> | <pre> | ||
| Line 72: | Line 72: | ||
</pre> | </pre> | ||
Solution: | Solution<ref>How to run make from Cygwin environment? - Stack Overflow https://stackoverflow.com/questions/17710209/how-to-run-make-from-cygwin-environment</ref>: | ||
# Install GCC from repository {{kbd | key=<nowiki>sudo yum -y install gcc</nowiki>}} | # Install GCC from repository {{kbd | key=<nowiki>sudo yum -y install gcc</nowiki>}} | ||
#* Verify the version of gcc because gcc 4.6 is required. {{kbd | key=<nowiki>gcc --version</nowiki>}} | #* Verify the version of gcc because gcc 4.6 is required. {{kbd | key=<nowiki>gcc --version</nowiki>}} | ||
| Line 120: | Line 120: | ||
Solution: | Solution: | ||
# Keyin: {{kbd | key=<nowiki>sudo ln -s /usr/lib/libopencc.so.2 /usr/lib64/libopencc.so.2</nowiki>}}<ref>[https://github.com/BYVoid/OpenCC/issues/259 opencc: error while loading shared libraries: libopencc.so.2: cannot open shared object file: No such file or directory · Issue #259 · BYVoid/OpenCC · GitHub]</ref> | # Keyin: {{kbd | key=<nowiki>sudo ln -s /usr/lib/libopencc.so.2 /usr/lib64/libopencc.so.2</nowiki>}}<ref>[https://github.com/BYVoid/OpenCC/issues/259 opencc: error while loading shared libraries: libopencc.so.2: cannot open shared object file: No such file or directory · Issue #259 · BYVoid/OpenCC · GitHub]</ref> | ||
== References == | == References == | ||