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

Dynamically linking hiredis for redis no longer works; exported symbols renamed/missing #998

Open
KennethWilke opened this issue Oct 11, 2021 · 0 comments
Assignees

Comments

@KennethWilke
Copy link

I'm working on an embedded platform that dynamically links hiredis when building redis itself, which does not seem to work after the name changes to SDS. Attempts to build Redis with dynamically linked hiredis now returns errors such as:

ld: redis-benchmark.o: in function `freeRedisConfig':
redis/src/redis-benchmark.c:383: undefined reference to `hi_sdsfree'

This was tested with redis 6.2.6 and with hiredis 1.0.2

It looks to me like the sdscompat.h header was added the redis repo only, and should be included in hiredis proper as well.

@michael-grunder michael-grunder self-assigned this Oct 31, 2021
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