pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: redis problem: can't load module redisbloom.so



Hi.

In message <rmild8tv8nj.fsf%s1.lexort.com@localhost>
	on Tue, 22 Sep 2026 07:16:00 -0400,
	Greg Troxel <gdt%lexort.com@localhost> wrote:
>> Please suggest on how to go forward.
> 
> Read the upstream sources, and see if the default config is from that.
> 
> Read the upstream sources and build instructions, and see if they say
> that the modules are non-optional and should be installed.
> 
> This is perhaps an upstream bug.

1. redis.conf contains lines to use these modules as snow flurry wrote:

# >>> BEGIN: loadmodule paths (replaced by make deploy) <<<
loadmodule ./modules/redisbloom/redisbloom.so
loadmodule ./modules/redisearch/redisearch.so
loadmodule ./modules/redisjson/rejson.so
loadmodule ./modules/redistimeseries/redistimeseries.so
# <<< END: loadmodule paths <<<

2. redis/Makefile contains these lines, so no redis's module will be built.

# Don't build modules. These require cmake, clang and rust.
post-extract:
	${RM} -f -r ${WRKSRC}/modules/*/src


So,

A. short term solution: comment out modules from default redis.conf.

B. long term solution: add redis modules to separate pacakges.


In my work space, there is redis 8.10.2 with A.

-- 
Takahiro Kambe <taca%NetBSD.org@localhost> / <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index