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

Manage version of hiredis #12

Open
hmartiro opened this issue Mar 3, 2015 · 2 comments
Open

Manage version of hiredis #12

hmartiro opened this issue Mar 3, 2015 · 2 comments

Comments

@hmartiro
Copy link
Owner

hmartiro commented Mar 3, 2015

Either require specific version, or just submodule it. It's a small library, might just be worth submoduling. Would it be smart to do the same with libev?

@junoteam
Copy link

Hello, I am pretty new in C++ on Linux,

when I am trying to run your example code. I get this error:
root@calvin:~# g++ basic.cpp -o hello -std=c++11 -lredox -lev -lhiredis
/usr/bin/ld: cannot find -lredox
collect2: error: ld returned 1 exit status

Can you help?

vim basic.cpp
#include iostream
#include root/redox/include/redox.hpp

@hmartiro
Copy link
Owner Author

Hello. Did you make redox and then sudo make install? The linker is unable
to find libredox.so.

On Wed, May 20, 2015 at 2:10 AM, junoteam [email protected] wrote:

Hello, I am pretty new in C++ on Linux,

when I am trying to run your example code. I get this error:
root@calvin:~# g++ basic.cpp -o hello -std=c++11 -lredox -lev -lhiredis
/usr/bin/ld: cannot find -lredox
collect2: error: ld returned 1 exit status

Can you help?

vim basic.cpp
#include
#include


Reply to this email directly or view it on GitHub
#12 (comment).

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

2 participants