# libzstd.so.1: cannot open shared object file \[Linux\]

**URL:** <https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714>\
**Category:** Installation\
**Created:** [July 24, 2023, 1:17pm UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714 "2023-07-24T13:17:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![juancarlos](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@juancarlos](https://forum.gidsimulation.com/u/juancarlos)\
**Post date:** [July 24, 2023, 1:17pm UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/1 "2023-07-24T13:17:04Z")

</div>

Hi all,  
I tried installing GiD using the .tar.xz file unfortunately after unpacking it I get an error in terminal stating:  
_gid16.0.5-x64/gid.exe: error while loading shared libraries: libzstd.so.1: cannot open shared object file: No such file or directory_  
Therefore I cannot start GiD. This happens when I try to run gid with the ‘gid’ or ‘./gid’ command as stated in the README.txt file within the installation files.  
After checking the _lib_ folder I see that said library is not present. My guess is that the error happens because the library is missing in the installation file.  
The same happened with the -Install file.

How can I solve this issue? Is this version related? Should I just use an older version of GiD?

OS: Linux  
GiD Version & installer: gid16.0.5-linux-x64.tar.xz  
Terminal command: tar -xvf gid16.0.5-linux-x64.tar.xz

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [July 24, 2023, 1:55pm UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/2 "2023-07-24T13:55:21Z")

</div>

Try the last developer 16.1.5d,  
I think that this library has been copied inside the libs of GiD

Is it an Ubuntu distribution?  
Please, let us know the exact OS version.

---

<div class="post-metadata">

**Author:** ![juancarlos](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@juancarlos](https://forum.gidsimulation.com/u/juancarlos)\
**Post date:** [July 24, 2023, 2:43pm UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/3 "2023-07-24T14:43:54Z")

</div>

The Linux Distribution is: Red Hat Enterprise Linux Release 7  
Release: 7.9

I tried the gid16.1.5d version (also with the .tar.xz file) but it also didn’t work. I got the following error:  
/gid/gid16.1.5d-x64/gid.exe: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by <directory>/gid/gid16.1.5d-x64/lib/gcc_libs/libstdc++.so.6) <directory>/gid/gid16.1.5d-x64/gid.exe: /lib64/libc.so.6: version `GLIBC\_2.18’ not found (required by /gid/gid16.1.5d-x64/lib/gcc\_libs/libstdc++.so.6)  
GiD exited with error code = 1 != 0  
Starting GiD Safe Mode  
/gid/gid16.1.5d-x64/gid.exe: /lib64/libc.so.6: version `GLIBC\_2.18’ not found (required by /gid/gid16.1.5d-x64/lib/gcc\_libs/libstdc++.so.6)

---

<div class="post-metadata">

**Author:** ![miguel](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/miguel/32/7_2.png) [@miguel](https://forum.gidsimulation.com/u/miguel)\
**Post date:** [July 24, 2023, 3:24pm UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/4 "2023-07-24T15:24:32Z")

</div>

Hi Juan Carlos,  
can you try this version?  
[https://downloads.gidsimulation.com/#GiD\_Developer\_Versions/Linux/kernel-3.10/](https://downloads.gidsimulation.com/#GiD_Developer_Versions/Linux/kernel-3.10/)  
this version is compiled on Scientific Linux 7, hopefully similar to your red hat 7.9.

best,

---

<div class="post-metadata">

**Author:** ![juancarlos](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@juancarlos](https://forum.gidsimulation.com/u/juancarlos)\
**Post date:** [July 24, 2023, 4:12pm UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/5 "2023-07-24T16:12:29Z")

</div>

Hi Miguel,  
Thanks, I can try that developer version and see if it works.  
I found that version _16.0.1_ worked fine, I was able to open GiD.  
For versions 16.0.4, 16.0.3, 16.0.2 I get a similar but different error:  
_gid.exe: /lib64/libc.so.6: version `GLIBC\_2.18’ not found (required by /gid/gid16.0.4-x64/lib/gcc\_libs/libstdc++.so.6)_

Not sure if the issue was specific to my system, distro or some bug in the installation files but at least an earlier version did work.  
Let me know if I should communicate it somewhere else in case it helps.

---

<div class="post-metadata">

**Author:** ![miguel](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/miguel/32/7_2.png) [@miguel](https://forum.gidsimulation.com/u/miguel)\
**Post date:** [July 24, 2023, 5:49pm UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/6 "2023-07-24T17:49:50Z")

</div>

Hi JuanCarlos,  
we changed the compilation and packaging Linux system from our old Scientific Linux 7.4 to a more modern Ubuntu 16.0.4 and GiD version 16.0.1 was the last version compiled on SL 7.4.

That is why gid requires support for a newer GLIBC\_XXX version than the one provided by SL7 or RH7.

i recompiled last developer version 16.1.5d for an 10 year old cluster running Scientific Linux 7.9 and published at the link i provided you: [https://downloads.gidsimulation.com/#GiD\_Developer\_Versions/Linux/kernel-3.10/](https://downloads.gidsimulation.com/#GiD_Developer_Versions/Linux/kernel-3.10/)

So, i think it will work on your system. Please tell us if it does or not.

Best,

---

<div class="post-metadata">

**Author:** ![juancarlos](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/j/b77776/32.png) [@juancarlos](https://forum.gidsimulation.com/u/juancarlos)\
**Post date:** [July 26, 2023, 1:03pm UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/7 "2023-07-26T13:03:18Z")

</div>

Hi Miguel,  
Understood, thanks for the insight.  
I tried the developer version 16.1.5d from the link provided and it also worked on my system. Thank you very much.  
Best,

---

<div class="post-metadata">

**Author:** ![Ladiandal92](https://forum.gidsimulation.com/letter_avatar_proxy/v4/letter/l/6de8d8/32.png) [@Ladiandal92](https://forum.gidsimulation.com/u/Ladiandal92)\
**Post date:** [September 5, 2023, 10:28am UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/8 "2023-09-05T10:28:05Z")

</div>

> [@](#):
>
> Hi Miguel,  
> Understood, thanks for the insight.  
> I tried the developer version 16.1.5d from the link provided and it also worked on my system. Thank you very much.  
> Best,

the developer version 16.1.5d doesn’t run for me.

---

<div class="post-metadata">

**Author:** ![escolano](https://forum.gidsimulation.com/user_avatar/forum.gidsimulation.com/escolano/32/6_2.png) [@escolano](https://forum.gidsimulation.com/u/escolano)\
**Post date:** [September 6, 2023, 8:05am UTC](https://forum.gidsimulation.com/t/libzstd-so-1-cannot-open-shared-object-file-linux/2714/9 "2023-09-06T08:05:37Z")

</div>

Unfortunately Linux has drawbacks related with the binary compatibility of a compiled program, it is not possible to do a single compilation able to run in all distros.  
Depending on your operating system maybe you can run other compiled versions.

Please, provide more information of your case.  
What is your exact operating system?  
It print some error message when running .gid in a console?  
in case of OpenGL graphic problems try also to run .gidx
