Sublime Forum

The libgio problem again

#1

I’m on Crunchbang Linux (based on Debian Squeeze).

$ ldd ./sublime_text
linux-vdso.so.1 => (0x00007fffaf5bb000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f5d7b914000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007f5d7b667000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f5d7b445000)
libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f5d7b193000)

So I know I have a version of libgio installed… otherwise I suppose sublime wouldn’t work at all.

However, because my version is < 2.26, I have the “multiple instance” problem when editing files from the command line.

I’ve searched everywhere for a way to update my libgio, but can’t find that it exists in any package in Debian. Someone out there must be using ST2 with a Debian system… can you tell me how or point me to a resource telling me how to update this lib?

Thanks in advance.

0 Likes

#2

mashingwachine.tumblr.com/post/4 … ibgio-2-26

0 Likes

#3

From that page:

$ git clone git://git.gnome.org/glib
$ cd glib
$ git co 2.26.1

git: ‘co’ is not a git command …

$ ./autogen.sh --prefix=/opt/lib/glib2.26

is it glib2.26 or glib that should be used? earlier it looks like glib…

$ make
$ sudo make install

Also, everything in /glib says 2.0. Thanks for the help, but that’s not the clearest answer. :smile:

0 Likes

#4

git co is an alias he has for git checkout

glib2.26 is just a directory name. You can call it foobar if you want, it doesn’t really matter.

The last step was to tell the os to look in the new directory for any libs before it starts sublime.

0 Likes

#5

Still compiling glib, but your tips helped get me this far. Thanks!

0 Likes