It might be also helpful to print the output of dlerror() in case the
plugin cannot be loaded.
Artjom
On Fri, Apr 12, 2013 at 9:18 PM, Roger Light wrote:
> On Fri, Apr 12, 2013 at 3:57 PM, Artjom wrote:
> > Argh, instead of linking the final binary against hiredis I was doing it
>
Argh, instead of linking the final binary against hiredis I was doing it
with the plugin. All works now. Thanks a lot!
Artjom
On Fri, Apr 12, 2013 at 3:39 PM, Jan-Piet Mens wrote:
> > I'm compiling it with the following command:
> > gcc -c -fPIC example.c hiredis.c -o plugin.
sure it's just some compiler flags which I'm missing. Compiling Redis
example code works fine.
Thanks!
Artjom
--
Mailing list: https://launchpad.net/~mosquitto-users
Post to : mosquitto-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mosquitto-users
More help : https://help.launchpad.net/ListHelp
3 matches
Mail list logo