Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when I use the plugin #36

Closed
piclemx opened this issue Dec 15, 2016 · 8 comments
Closed

Error when I use the plugin #36

piclemx opened this issue Dec 15, 2016 · 8 comments

Comments

@piclemx
Copy link

piclemx commented Dec 15, 2016

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

@piclemx piclemx changed the title Error when I install the plugin Error when I use the plugin Dec 15, 2016
@filhodanuvem
Copy link
Owner

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

@piclemx
Copy link
Author

piclemx commented Dec 15, 2016

Yes

@msankhala
Copy link

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.

@filhodanuvem
Copy link
Owner

@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?

@luizperes
Copy link
Collaborator

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

@piclemx
Copy link
Author

piclemx commented Dec 16, 2016

@cloudson Yes this is working 👍

@luizperes
Copy link
Collaborator

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

@piclemx piclemx closed this as completed Dec 16, 2016
@piclemx
Copy link
Author

piclemx commented Dec 16, 2016

Done ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants