I'm using openSUSE 12.1 with python2.7. And I did the symlink by running the command:
# ln -s /usr/lib/python2.7/ /usr/share/SublimeText2/lib/
It did work for the plugin, as the "ctypes" error message no longer appear.
However, other problems arose after I've done the linkage. When I start st2 from Konsole(/usr/share/SublimeText2/sublime_text), an error message is shown in the Konsole:
'import site' failed; use -v for traceback
while the st2 is still able to run.
And the terminal inside st2 shows much more error messages:
Traceback (most recent call last):
File "./sublime_plugin.py", line 1, in <module>
ImportError: No module named os
plugin init time: 0.116299
loading pointer bindings
found 1 files for base name Default.sublime-theme
pre session restore time: 0.213486
using gamma: 1 (err: 0)
AttributeError: 'module' object has no attribute 'on_activated'
The Clang did not work well once I did the linkage, and it's the same when I did the linkage to python2.6 in another folder. So the solution seems dose not work at my laptop.
Hope the problem could be solved in next update~