What is this GLIBCXX error?

If you use enterprise or stable Linux distributions, sooner or later you will see an error like this: app: /lib64/libc.so.6: version `GLIBC_3.1.45' not found (required by ./app) Or like this: app: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./app) The application (or library) itself will vary. The path to the libc or libstdc++ might vary too. But the error will always mention that a GLIBCXX or GLIBC version was not found. ...

July 8, 2020 · Omair Majid

The magic of file

Ever wonder how file(1)1 works? After reading this post, you should understand all about file and its underpinnings. file Using the file tool is quite simple. It’s just file file-name-1. You can call it with multiple arguments too. Here’s a few examples of running it on my system. $ file document.pdf document.pdf: PDF document, version 1.4 $ file image.jpg image.jpg: JPEG image data, Exif standard: [TIFF image data, big-endian, direntries=7 ...orientation=upper-left, datetime=2019:10:30 21:44:30, width=1740], baseline, precision 8, 2017x961, components 3 $ file video.mp4 video.mp4: ISO Media, MP4 v2 [ISO 14496-14] $ file notes.org notes.org: UTF-8 Unicode text, with very long lines $ file /dev/video0 /dev/video0: character special (81/0) You can already see a few things: ...

June 10, 2020 · Omair Majid