crypt_shared 8.0.14-rc0 fails to load on Ubuntu 20.04

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 8.0.14
    • Affects Version/s: 8.0.14
    • Component/s: None
    • None
    • DevProd Build
    • ALL
    • v8.0
    • Hide

      For a simple reproducer, use this script markup.py to try to load on an Ubuntu 20.04 host:

      # Download 8.0.14-rc0 tarball:
      wget https://downloads.mongodb.com/linux/mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2004-8.0.14-rc0.tgz
      mkdir 8.0.14-rc0
      tar -xf mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2004-8.0.14-rc0.tgz -C 8.0.14-rc0
      
      pip3 install pymongo cffi
      python3 markup.py
      python3 markup.py --libpath ./8.0.14-rc0/lib/mongo_crypt_v1.so
      

      Results in the error:

      OSError: cannot load library './lib/mongo_crypt_v1.so': /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by ./lib/mongo_crypt_v1.so).  Additionally, ctypes.util.find_library() did not manage to locate a library called './lib/mongo_crypt_v1.so'
      

      The same error does not occur with 8.0.13.

      Show
      For a simple reproducer, use this script markup.py to try to load on an Ubuntu 20.04 host: # Download 8.0.14-rc0 tarball: wget https: //downloads.mongodb.com/linux/mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2004-8.0.14-rc0.tgz mkdir 8.0.14-rc0 tar -xf mongo_crypt_shared_v1-linux-x86_64-enterprise-ubuntu2004-8.0.14-rc0.tgz -C 8.0.14-rc0 pip3 install pymongo cffi python3 markup.py python3 markup.py --libpath ./8.0.14-rc0/lib/mongo_crypt_v1.so Results in the error: OSError: cannot load library './lib/mongo_crypt_v1.so' : /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35 ' not found (required by ./lib/mongo_crypt_v1.so). Additionally, ctypes.util.find_library() did not manage to locate a library called ' ./lib/mongo_crypt_v1.so' The same error does not occur with 8.0.13.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Loading crypt_shared 8.0.14-rc0 on Ubuntu 20.04 appears to error with:

      Error while opening candidate for crypt_shared dynamic library [/data/mci/1ac9d0deaed63a4272b923ef8c6756e2/drivers-evergreen-tools/mongo_crypt_v1.so]: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /data/mci/1ac9d0deaed63a4272b923ef8c6756e2/drivers-evergreen-tools/mongo_crypt_v1.so)
      

      The full error is shown in the C driver patch build.

      This appears to be a new error and does not occur on 8.0.13.

            Assignee:
            Zack Winter
            Reporter:
            Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: