Skip to content

HelloWorld example for redis modules fails with RedisModule_Alloc undefined #6329

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

Closed
manast opened this issue Sep 12, 2020 · 2 comments
Closed

Comments

@manast
Copy link

manast commented Sep 12, 2020

Just trying out the example from your redis conf presentation:

https://www.youtube.com/watch?v=Csz26Wy9Ses&ab_channel=RedisLabs

Builds fine with zig build-lib hello.zig -target x86_64-linux -dynamic -I. -lc -Bsymbolic (I am on a Mac) but then this error is reported by redis server when loading the module:

Module /modules/libhello.so.0.0.0 failed to load: /modules/libhello.so.0.0.0: undefined symbol: RedisModule_Alloc

what gives?

@manast manast changed the title HelloWorld example for redis modules fails with RedisModule_Alloc HelloWorld example for redis modules fails with RedisModule_Alloc undefined Sep 12, 2020
@nektro
Copy link
Contributor

nektro commented Sep 13, 2020

-target x86_64-linux

I am on a Mac

this may be involved

@manast
Copy link
Author

manast commented Sep 13, 2020

who knows... but I cannot build native because of this either #6308
so kind of show stopper...
Btw, I see issues growing at a high pace, but not so much response from maintainers, holidays season or is this normal?

@andrewrk andrewrk closed this as completed Oct 4, 2020
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

3 participants