Error installing from source on MacOS

Report a Dgraph Bug

What version of Dgraph are you using?

I am trying to install v21.03.0

Have you tried reproducing the issue with the latest release?

Yes, it seems I still have the same issue on master.

What is the hardware spec (RAM, OS)?

MacOS 10.15.2 Catalina

Steps to reproduce the issue (command/config used to run Dgraph).

brew install go jemalloc
git clone
cd dgraph
git checkout v21.03.0
make install

My jemalloc version is 5.2.1 and go version is 1.17 after installing with brew.

Expected behaviour and actual result.

This is the error I get:

/Users/paul/go/pkg/mod/ could not determine kind of name for C.je_calloc
/Users/paul/go/pkg/mod/ could not determine kind of name for C.je_free
/Users/paul/go/pkg/mod/ could not determine kind of name for C.je_mallctl
/Users/paul/go/pkg/mod/ could not determine kind of name for C.je_malloc_stats_print

Sorry, Darwin isn’t supported anymore.


PS. Maybe you should clone and build jemalloc instead of installing from a brew formula. Make sure you are not using M1, maybe jemalloc isn’t supported in that architecture.

Well that clears it up, thanks. I’m not using M1 btw. If it’s not supported then I’ll probably skip the hassle of trying to compile it.