Hello everyone.
I wanted to use Sublime Text 2 on FreeBSD but it doesn't work. I got the 32 bits linux version on the official site. Linux compat layer is launched and emulators/linux_base-f10 is installed.
Then I got this first error:
Then I used brandelf:
And ldd sublime_text gives:
As you can see some librries needed are not found but do exist in /usr/local/lib. So I used [cmd=]ln -s /usr/local/lib/libgtk-x11-2.0.so.0 /compat/linux/usr/lib[/cmd] and when I run ldd or the program itself, it returns:
Any ideas?
So I found out I had to install linux libraries from the ports but some are still missing:
Anyone got an idea what ports I have to install?
Installed with linux-gtk
Well,
Installed with linux-gtk2.
I wanted to use Sublime Text 2 on FreeBSD but it doesn't work. I got the 32 bits linux version on the official site. Linux compat layer is launched and emulators/linux_base-f10 is installed.
Code:
local# kldstat
Id Refs Address Size Name
1 7 0xc0400000 e9ece4 kernel
2 1 0xc6625000 29000 linux.ko
Then I got this first error:
Code:
youri | ~/Downloads/Sublime Text 2
» ./sublime_text
ELF interpreter /lib/ld-linux.so.2 not found
zsh: abort ./sublime_text
Then I used brandelf:
Code:
local# brandelf -t Linux sublime_text
And ldd sublime_text gives:
Code:
local# 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)
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libatk-1.0.so.0 => not found
libgio-2.0.so.0 => /lib/libgio-2.0.so.0 (0x2878a000)
libpangoft2-1.0.so.0 => not found
libpangocairo-1.0.so.0 => not found
libgdk_pixbuf-2.0.so.0 => not found
libcairo.so.2 => not found
libpng12.so.0 => not found
libpango-1.0.so.0 => not found
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x287ff000)
libfontconfig.so.1 => not found
libgobject-2.0.so.0 => /lib/libgobject-2.0.so.0 (0x28893000)
libgmodule-2.0.so.0 => /lib/libgmodule-2.0.so.0 (0x288d4000)
libgthread-2.0.so.0 => /lib/libgthread-2.0.so.0 (0x288d8000)
librt.so.1 => /lib/librt.so.1 (0x288dd000)
libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x288e8000)
libpthread.so.0 => /lib/libpthread.so.0 (0x289cb000)
libdl.so.2 => /lib/libdl.so.2 (0x289e5000)
libutil.so.1 => /lib/libutil.so.1 (0x289ea000)
libm.so.6 => /lib/libm.so.6 (0x289ee000)
libX11.so.6 => not found
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x28a18000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28b08000)
libc.so.6 => /lib/libc.so.6 (0x28b16000)
libselinux.so.1 => /lib/libselinux.so.1 (0x28c8e000)
/lib/ld-linux.so.2 (0x28765000)
As you can see some librries needed are not found but do exist in /usr/local/lib. So I used [cmd=]ln -s /usr/local/lib/libgtk-x11-2.0.so.0 /compat/linux/usr/lib[/cmd] and when I run ldd or the program itself, it returns:
Code:
error while loading shared libraries: /usr/lib/libgtk-x11-2.0.so.0: ELF file OS ABI invalid
Any ideas?
So I found out I had to install linux libraries from the ports but some are still missing:
Code:
libpixman-1.so.0 => not found
libgtk-1.2.so.0 => not found
libgdk-1.2.so.0 => not found
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libatk-1.0.so.0 => not found
Anyone got an idea what ports I have to install?
Code:
libgtk-1.2.so.0 => not found
libgdk-1.2.so.0 => not found
Installed with linux-gtk
Well,
Code:
libgtk-x11-2.0.so.0 => not found
libgdk-x11-2.0.so.0 => not found
libatk-1.0.so.0 => not found