free counters
Diberdayakan oleh Blogger.

Jumat, 28 Agustus 2015

Fix error libgcrypt.so.11 for Brackets in Slackware64 Current

by Unknown  |  in Software at  Jumat, Agustus 28, 2015

In my journey to find the best text editor, I found 3 choice of editor to choose:
1. Sublime Text
2. Atom
3. Brackets

Currently, I'm using Sublime Text and it really good as a text editor with its multiple available plugins. But the down side for me Sublime Text is proprietary software. I need a good editor with Free Software/ Open Source license. So I only have 2 choice left.

As for Atom, the down side is its performance. About 1/6th of Sublime Text because it is based of chrome technology. So, it's a no for Atom too.

Now I need to test Brackets. But for now, Brackets can only be compiled for old libgcrypt15 in Slackware64 14.1. In Slackware64 current, libgcrypt20 was installed replacing the old one.
After installing Bracket Package, we'll get an error:

 /usr/bin/brackets: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory  
Because Brackets try to find old libgcrypt which not installed on Slackware64 current.

To fix the error, we can do a simple trick by copying old libgcrypt, libgcrypt.so.11.8.2 file, from Slackware64-14.1 to Brackets installation folder then make a symbolic link to /usr/lib/libgcrypt.so.11.

Here the simple instruction step to our Slack brain:
1. Get Brackets package for Slackware64 14.1 from Ponce package,
1. Get old libgcrypt package from Slackware64 14.1,
2. Extract the package and get the libgcrypt.so.11.8.2 file,
3. copy libgcrypt.so.11.8.2 file to Brackets installation folder, for me in /opt/brackets/,
4. Make a symbolic link to libgcrypt.so.11.8.2, like this:
 ln -s /opt/brackets/libgcrypt.so.11.8.2 /usr/lib64/libgcrypt.so.11  
5. Try running Brackets.


FYI, as I'm writing this post I read a comment from Brackets github issue for generating an installable old libgcrypt package for Slackware 14.1. But I never test it, but I think that is the better way to fix Brackets error because we don't need to dirty our system by copying untracked library.

DWYOR.


Reference:
1. www.slackware.com 
2. That which could be fixed in SBo thread, http://www.linuxquestions.org/questions/slackware-14/that-which-could-be-fixed-in-sbo-thread-4175532869/page13.html
3. Unix Create a Symbolic Link, http://www.cyberciti.biz/faq/unix-creating-symbolic-link-ln-command/

1 komentar:

Silahkan tinggalkan komentar anda: