Mongodump: error while loading shared libraries - when running on Heroku

Yeah that buildpack is very old. I wouldn’t recommend using it. Chris is right that you should download a newer version. You could use curl to download the tools on heroku. The buildpack shows how you can do this. I think you just need to change the version:

It’s been a while since I’ve used heroku but I think you can deploy docker images now. If that’s an option, it might also be easier to deploy the official MongoDB docker image. That will have up to date tools.

2 Likes