Package libbson-static-1.0 required by libmongocrypt not found

I am having this exact issue Package 'libbson-static-1.0', required by 'libmongocrypt', not found

But I am not able to view the ticket to see what the resolution if any is

1 Like

I was able to resolve the issue by installing libbson-dev

So basically to build a docker (debian) for our Go code with libmongocrypt inside it I just had to add:
sudo apt-get install libmongocrypt-dev libbson-dev

The above solution works for Debian 11 bullseye but not for Ubuntu 16.04, still getting the error.

Would love to see that JIRA ticket!

Managed to get things working for Ubuntu 16.04 like so:

apt-get install apt-transport-https pkg-config
sh -c ‘curl -s | gpg --dearmor >/etc/apt/trusted.gpg.d/libmongocrypt.gpg’ &&
echo “deb xenial/libmongocrypt/1.2 universe” | tee /etc/apt/sources.list.d/libmongocrypt.list &&
apt-get update &&
apt-get install -y libmongocrypt-dev libbson-dev && \

The urls were taken from libmongocrypt readme page, but note version change from 1.0 to 1.2

Hi @Elena123,

I’m not sure why the Jira issue isn’t visible, but I have reported the problem.

The packaging issue was resolved in libmongocrypt 1.2.2 by way of

From your most recent post it looks like you may have originally had a 1.0 release in your Ubuntu 16.04 environment, which would not have the required fix.

It sounds like you may be set in all of your environments now. Do you need any further assistance with this?