How Do You Troubleshoot the Error “flatpak … no version info or cannot open shared object file”?

Problem scenario
You open a terminal window in Linux. You get an error like one of the following:

flatpak: /lib64/ no version information available (required by /lib64/

flatpak: error while loading shared libraries: cannot open shared object file: No such file or directory

What should you do?

(This solution will work if the file is in a different location from where it was expected on your server.)
1. Find if another copy of the file exists on your server. Run a command like this (but substitute "" in the follow draft of a command with the file in the error message): sudo find / -name
(replace "" with the file you need)

2. Back up the file /lib64/foobar to another location. You may want to run "ls -lh /lib64/foobar" to see if it is merely a link to another file; if it is a link, just delete the link.

3. Copy the other copy of the file if it exists to /lib64/. Now the problem should go away.

Leave a comment

Your email address will not be published. Required fields are marked *