filhodanuvem / gitql

💊 A git query language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when I use the plugin

piclemx opened this issue · comments

dyld: Library not loaded: libgit2.21.dylib
Referenced from: /usr/local/bin/gitql
Reason: image not found
[1] 56160 abort gitql "select message from commits"

I'm on Mac OSX

Hi @piclemx .
Did you exported the DYLD_LIBRARY_PATH environment variable ?

Actually that export variable DYLD_LIBRARY_PATH step should be mentioned before the make step under installation section in README.md. make for me failed at first attempt then i set that DYLD_LIBRARY_PATH variable then make step worked fine for me.

@piclemx there are other thread trying to make the installation easily.
Can you help us with a test?
I did a commit and you could follow the steps

cd $GOPATH/src/github.com/cloudson/gitql/
cp libgit2/install/lib/lib*  /usr/local/lib
gitql 

It solves your problem?

It seems to be duplicated from #30 @piclemx, take a look

@cloudson Yes this is working 👍

Sweet, @piclemx, could you close this issue? :)