• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    glibc issue on trying to build from git

    Scheduled Pinned Locked Moved
    Technical Help
    2
    3
    315
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rajm
      last edited by

      I'm trying to build from a recent git pull and make fails on me with the following error:
      /snap/protobuf/52/bin/protoc: /snap/core20/current/lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /lib/x86_64-linux-gnu/libgtk3-nocsd.so.0)
      I had to install protobuf from snap (I'm on ubuntu 22.10) looks like I just have glibc 2.31
      https://forum.snapcraft.io/t/snapping-application-that-depends-on-glibc-2-34/26822 suggests I have to go to a LTS version to build or are there other means of getting around this?

      jonasJ 1 Reply Last reply Reply Quote 0
      • jonasJ
        jonas @rajm
        last edited by jonas

        @rajm
        The glibc in snap is not compatible with the glibc on the native system. So you probably won't get that to work at all.
        So either install protobuf-compiler (via apt), or compile protobuf from source.

        R 1 Reply Last reply Reply Quote 0
        • R
          rajm @jonas
          last edited by

          @jonas On checking - I had protobuf-compiler already installed (so why did I install via snap??!!) I removed the snap version and re-ran cmake - make then gave me
          ext/libstrawberry-tagreader/CMakeFiles/libstrawberry-tagreader.dir/build.make:73: *** target pattern contains no '%'. Stop.
          I removed the build directory contents and then cmake/make ran ok - not sure whether cmake should just have worked with the dependency change but it's now ok.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB | Contributors