agentm / project-m36

Project: M36 Relational Algebra Engine
The Unlicense
876 stars 47 forks source link

Running into the same #311 issue again: this time with the package `fuzzy` #319

Closed farzadbekran closed 2 years ago

farzadbekran commented 2 years ago

Same situation: missing a symbol, but this time it's from the dependency of fuzzy, namely monoid-subclasses

agentm commented 2 years ago

I suspect that the project-m36-server is loading the wrong project-m36 library from the .stack-work directory. Could you delete all old project-m36 library builds in there and try again? The -rdynamic patch really should take care of this. I'll look into ensuring that project-m36 loads the "latest" library, perhaps by timestamp.

farzadbekran commented 2 years ago

I just deleted .stack-work and ~/.stack and started building everything from scratch. I'll let you know how it goes.

farzadbekran commented 2 years ago

No still the same problem:

project-m36-server: src/DB/ConstraintFunctions.o: unknown symbol `monoidzmsubclasseszm1zi0zi1zmGVl1nDJj2pLCZZya9zzwWBfh_DataziMonoidziTextual_zdfTextualMonoidText0_closure'
./start-db.sh: line 3: 213966 Segmentation fault      (core dumped) stack exec -- project-m36-server -n shopper-db -d shopper-db --fsync
farzadbekran commented 2 years ago

Solved in #327