There appear to be two paths to running SublimeText2 on FreeBSD.
-
A binary package could be created. Create a local port on a build box. After some rounds of compiling, installing, and testing, one could ‘make package’ and distribute the tarball.
-
The Linux emulator for FreeBSD (linux-base-f10) is out of date, but only one version (see below) behind what ST2 needs. The author could build with an older version of libc/libstdc++, or the linux-base-f10 maintainers could update the libraries.
$ ldd sublime_text
sublime_text:
sublime_text: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by sublime_text)
sublime_text: /lib/libc.so.6: version `GLIBC_2.11' not found (required by sublime_text)
sublime_text: exit status 1
$ strings /compat/linux/usr/lib/libstdc++.so.6.0.10 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_FORCE_NEW
GLIBCXX_DEBUG_MESSAGE_LENGTH
Either solution shouldn’t be too ambitious, though in my opinion, former would be the best solution since it follows the current idiom.
Either way, it’d make this licensed user a bit happier.