Open renatosousafilho opened 5 years ago
@renatosousafilho if you try the following it will work
root@3c38b8c4c5ab:/# ruby -r rbconfig -e "puts RbConfig::CONFIG['MAINLIBS']"
-lz -lpthread -lrt -lrt -ljemalloc -lgmp -ldl -lcrypt -lm
root@3c38b8c4c5ab:/#
@renatosousafilho if you try the following it will work
root@3c38b8c4c5ab:/# ruby -r rbconfig -e "puts RbConfig::CONFIG['MAINLIBS']" -lz -lpthread -lrt -lrt -ljemalloc -lgmp -ldl -lcrypt -lm root@3c38b8c4c5ab:/#
As far as I know, Alpine (don't know which version exactly) is no longer compatible with jemalloc since it uses musl libc which uses malloc internally and there no plans to support jemalloc for now. Could you confirm this?
I`ve tried to check the containers from all verions of alpine to check if the ruby was compilled with jemalloc using the command
ruby -r rbconfig -e "puts RbConfig::CONFIG['LIBS']"
but the responde always never include the -ljemalloc config. What is wrong in this images.?