RedisGears icon indicating copy to clipboard operation
RedisGears copied to clipboard

make all failed on Mac 10.15.6

Open SeekPoint opened this issue 5 years ago • 10 comments

17 warnings generated. Packing dependencies... Created artifacts/release/redisgears-dependencies.macosx-catalina-x64.99.99.99.tgz Created artifacts/snapshot/redisgears-dependencies.macosx-catalina-x64.master.tgz Linking bin/macosx-x64-release/redisgears.so... Packing module... Failed to pack release /usr/local/opt/[email protected]/bin/python3.8: Error while finding module specification for 'RAMP.ramp' (ModuleNotFoundError: No module named 'RAMP') make: *** [artifacts/release/redisgears.macosx-catalina-x64.99.99.99.zip] Error 1 redisLab-ghSrc/RedisGears %

SeekPoint avatar Aug 21 '20 15:08 SeekPoint

Seems like the final packaging failed because of RAMP is missing. But if you reached so far you should have the redisgears.so file in the main directory and you are good to go.

MeirShpilraien avatar Aug 21 '20 16:08 MeirShpilraien

yes, but the file redisLab-ghSrc/RedisGears % find . -name "redisgears.so" ./redisgears.so ./bin/macosx-x64-release/snapshot/redisgears.so ./bin/macosx-x64-release/redisgears.so redisLab-ghSrc/RedisGears %

I cannot load it on Mac , see https://github.com/RedisGears/MultiModelExample

1215:M 22 Aug 2020 09:16:59.109 # Module /Users/yuanke/redisLab-ghSrc/MultiModelExample/redisgears.so failed to load: dlopen(/Users//redisLab-ghSrc/MultiModelExample/redisgears.so, 6): Symbol not found: _libiconv Referenced from: /Users//redisLab-ghSrc/MultiModelExample/redisgears.so Expected in: flat namespace in /Users//redisLab-ghSrc/MultiModelExample/redisgears.so ^C1215:signal-handler (1598059048) Received SIGINT scheduling shutdown...

SeekPoint avatar Aug 22 '20 01:08 SeekPoint

Same error here on Mac OS 10.15.5.

scuml avatar Sep 29 '20 20:09 scuml

@rafie any idea how to fix it?

MeirShpilraien avatar Sep 30 '20 06:09 MeirShpilraien

@MeirShpilraien This (or something similar) was once fixed in #302. I'll investigate.

rafie avatar Sep 30 '20 07:09 rafie

@rafie did your recent fixes will fix this issue?

MeirShpilraien avatar Oct 13 '20 16:10 MeirShpilraien

@MeirShpilraien Yes, but I'd like to give it a little time before we declare it "solved". There are similar issues on other modules (e.g. RediSearch) and I'd like to see we catch all the fish.

rafie avatar Oct 13 '20 17:10 rafie

98673:M 14 Oct 2020 11:57:20.066 # Module /Users/<user>/Downloads/RedisGears/bin/macos-x64-release/redisgears.so failed to load: dlopen(/Users/<user>/Downloads/RedisGears/bin/macos-x64-release/redisgears.so, 6): Symbol not found: _libiconv
  Referenced from: /Users/<user>/Downloads/RedisGears/bin/macos-x64-release/redisgears.so
  Expected in: flat namespace
 in /Users/<user>/Downloads/RedisGears/bin/macos-x64-release/redisgears.so

Same error still occurring on latest master. Build was run from scratch.

scuml avatar Oct 14 '20 16:10 scuml

@rafie ^^

MeirShpilraien avatar Oct 15 '20 12:10 MeirShpilraien

see: https://github.com/RedisGears/RedisGears/issues/464

Rambatino avatar Dec 30 '20 18:12 Rambatino