@killajoe
Thanks for bringing this problem to my attention. The following command should fix the problem ...
$ sudo ln -s /usr/lib/libcrypt.so.2 /usr/lib/libcrypt.so.1
I'll update the PKGBUILD asap.
| Git Clone URL: | https://aur.archlinux.org/gnatstudio-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | gnatstudio-bin |
| Description: | GNAT Programming Studio for Ada binary |
| Upstream URL: | https://github.com/AdaCore/gnatstudio |
| Licenses: | GPL3 |
| Conflicts: | gnat-gps |
| Submitter: | charlie5 |
| Maintainer: | charlie5 |
| Last Packager: | charlie5 |
| Votes: | 1 |
| Popularity: | 0.000000 |
| First Submitted: | 2022-07-14 04:07 (UTC) |
| Last Updated: | 2025-07-24 07:44 (UTC) |
@killajoe
Thanks for bringing this problem to my attention. The following command should fix the problem ...
$ sudo ln -s /usr/lib/libcrypt.so.2 /usr/lib/libcrypt.so.1
I'll update the PKGBUILD asap.
./gnatstudio /opt/gnatstudio/bin/gnatstudio_exe: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
running it from the terminal shows it links to outdated libcrypt.so.1 .. current libxcrypt 4.4.28-2 ships with libcrypt.so.2 ..
Set Path
Add the following line to your .bashrc ...
export PATH="$PATH:/opt/gnatstudio/bin"
This will allow access to the gnatstudio binary but still use the latest Archlinux gcc version.
Pinned Comments
charlie5 commented on 2022-07-22 04:43 (UTC) (edited on 2023-06-01 21:59 (UTC) by charlie5)
Add the following line to your .bashrc ...
export PATH="$PATH:/opt/gnatstudio/bin"
This will allow access to the gnatstudio binary but still use the latest Archlinux gcc version.