Hosting a public IPFS gateway compile ipfs dependency problem

When we run the GOTAGS=openssl make install command it ask to run go mod tidy command. When we run go mod tidy command it returns below error. Can you please help me to resolve below error. If we use lower version of libp2p library go mod tidy works but still openssl command not working.

module github.com/libp2p/go-libp2p-core@latest found (v0.20.1), but does not contain package github.com/libp2p/go-libp2p-core/mux

How did you get this code / can you try using with Kubo’s v0.21 source ?
Your source of kubo is wrong github.com/libp2p/go-libp2p-core has been moved and shouldn’t be used anymore.

I have followed below tutorial to hosting public IPFS gateway

This is outdated information. You can follow the official installations instructions: Get Started | IPFS Docs

1 Like