Page 1 of 1

GLIBC_2.28 not found on Ubuntu

Posted: Sun Apr 28, 2019 8:01 pm
by justinafincher
I had to do a fresh install of my Ubuntu box (18.04.02 LTS), and after installing MakeMKV, I'm getting the following error.

Code: Select all

/usr/bin/makemkvcon: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /usr/lib/libmakemkv.so.1)
If I run ldd --version, it says I have 2.27, which kinda points to the issue, but there don't appear to be any updates in normal channels to bring me to 2.28. Any help/workarounds would be greatly appreciated.

Re: GLIBC_2.28 not found on Ubuntu

Posted: Sun Apr 28, 2019 8:05 pm
by mike admin
Are you compiling from source? MakeMKV can work with ancient glibc and requires glibc 2.2 (2.2 for 386 and 2.2.5 for x64).

Re: GLIBC_2.28 not found on Ubuntu

Posted: Sun Apr 28, 2019 8:10 pm
by justinafincher
I am compiling from the 1.14.3 source. I'm sure it may be able to work, I'm just not sure how to convince it to look in the right place so that it WILL work :-)

Re: GLIBC_2.28 not found on Ubuntu

Posted: Thu May 02, 2019 10:04 am
by Zirias
libmakemkv.so.1 is a library built from the "makemkv-oss" source package. So the situation you're seeing here is impossible if you built and installed makemkv-oss on the same machine you're trying to run makemkv (without having some newer GLIBC in some non-standard path and setting strange build flags to link against this one).

So, start over, rebuild and reinstall makemkv-oss without any custom flags and you should be fine.

Re: GLIBC_2.28 not found on Ubuntu

Posted: Thu May 02, 2019 1:30 pm
by justinafincher
Ah ha! Thanks! So I rebuilt, same result.

However, your comment that what I'm seeing should be impossible clued me in. I had reinstalled Ubuntu, but the folder where I had extracted the source for makemkv was still intact. So when I was running make, it wasn't actually re-making the file as it saw the files it was generating were already there. After wiping and resetting, I rebuilt and everything works.

Thanks!

Re: GLIBC_2.28 not found on Ubuntu

Posted: Thu May 02, 2019 2:03 pm
by Zirias
Just a hint, almost every Makefile includes a "clean" target, so all you have to do is start with "make clean" before you rebuild.