You are not logged in.
Hi.
Matlab R2018b requires libcrypt.so.1, but it disappeared from current libxcrypt few days ago (during previous week everything worked). Why would it happen? It is not hard to compile the library from source, but I don't see a point of such change.
Offline
Because it has been deprecated for ages in glibc and was finally removed. Use this instead:
https://aur.archlinux.org/packages/libxcrypt-compat
Offline
libxcrypt-compat 4.4.26-1 as per yr proposal is AUR and not really an official Arch package. Could we, should we rely/depend on AUR packages for cryptographic functions?
Offline
Read the PKGBUILD, make your own determination
Online
Please let me know if this was a terrible idea, but Borg is no longer working due to missing libcrypt.so.1 so I made a symbolic link from libcrypt.so.2 to libcrypt.so.1 and it's working again.
Offline
It was a terrible idea. libcrypt.so.2 is not fully compatible with .so.1. Somethings may work, some will fail.
Offline
Please let me know if this was a terrible idea, but Borg is no longer working due to missing libcrypt.so.1 so I made a symbolic link from libcrypt.so.2 to libcrypt.so.1 and it's working again.
I tried the alternative but it failed due to missing pgp key. Tried installing the missing key which also failed to find it. I'm going to try your link idea.
DELL Inspiron 14-3452, 32GB emmc, 4 GB RAM
Offline
I tried to tie my shoes but that required me to bind a knot which I failed to execute.
I'm going to try to cut off my foot instead.
Last edited by seth (2022-02-17 15:04:12)
Offline
I have question
If softwares like MATLAB come with its own libcrypt.so.1 file (which I can see at <INSTALL-DIR>/bin/glnxa64/libcrypto.so.1) then why does it depends on system's libcrypt ? shouldn't it use its own ?
Offline
Missing $LD_LIBRARY_PATH or the SO isn't installed by the AUR package - but "libcrypto.so.1" wouldn't be "libcrypt.so.1" and probably a replacement for the openssl library.
Offline
yeah sorry didn't read the 'o'
Missing $LD_LIBRARY_PATH or the SO isn't installed by the AUR package - but "libcrypto.so.1" wouldn't be "libcrypt.so.1" and probably a replacement for the openssl library.
but wdym by SO here ?
Offline
lunbru wrote:Please let me know if this was a terrible idea, but Borg is no longer working due to missing libcrypt.so.1 so I made a symbolic link from libcrypt.so.2 to libcrypt.so.1 and it's working again.
I tried the alternative but it failed due to missing pgp key. Tried installing the missing key which also failed to find it. I'm going to try your link idea.
you can disable pgp check:
makepkg -si --skippgpcheck
Unfortunately, my proprietary software of choice, houdini fx, doesn't work with this replacement,but i suspect it is unrelated given GDB output:
Using host libthread_db library "/usr/lib/libthread_db.so.1".
munmap_chunk(): invalid pointer
Program received signal SIGABRT, Aborted.
0x00007fffc70ad34c in __pthread_kill_implementation () from /usr/lib/libc.so.6
Last edited by Santiblocks (2022-02-17 17:43:19)
Offline
I tried the alternative but it failed due to missing pgp key. Tried installing the missing key which also failed to find it.
you can disable pgp check:
I'd not skip pgp keys in this case.
What AUR helper or command you all using? My AUR helper didn't have an issue with it.
:: aurch ==> Checking pgp key for libxcrypt-compat.
[sudo] to run systemd-nspawn on chroot.
gpg: key F52E98007594C21D: public key "Bjrn 'besser82' Esser (besser82@fedoraproject.org) <besser82@fedoraproject.org>" imported
gpg: Total number processed: 1
gpg: imported: 1
You could also try something like this:
gpg --keyserver keyserver.ubuntu.com --recv-key <key number>
I tried to tie my shoes but that required me to bind a knot which I failed to execute.
I'm going to try to cut off my foot instead.
Not to say your solution is bad, but I switched to wearing romeos.
It's 2022 brother, tying knots is ridiculously elite, hard, and totally unnecessary! lol
Last edited by NuSkool (2022-02-17 20:14:27)
Offline
but wdym by SO here ?
Same as the library suffix - "suspicious object", "shared obstacle" or something like that
Offline
It was a terrible idea. libcrypt.so.2 is not fully compatible with .so.1. Somethings may work, some will fail.
Thanks! Is the recommended workaround to install the AUR package instead then?
Offline
Did you already try to rebuild borg?
Offline
Because it has been deprecated for ages in glibc and was finally removed. Use this instead:
https://aur.archlinux.org/packages/libxcrypt-compat
No, I would rather compile it from source and use LD_LIBRARY_PATH, because it's trivial and using somebody's PKGBUILD and bloating my system is not something I want. Thank you for explanation.
I have question
If softwares like MATLAB come with its own libcrypt.so.1 file (which I can see at <INSTALL-DIR>/bin/glnxa64/libcrypto.so.1) then why does it depends on system's libcrypt ? shouldn't it use its own ?
Ask MATHWORKS. I have no idea. Also, I see guys explained you that it is actually crypt*o* and that is not the thing.
Also, answering guys trying to substitute libcrypt.so.1 with symlink to another library, that will not work at all. You need exactly that legacy .so.1.
I consider that the thread may be closed as Allan answered my question.
Last edited by EmErAJID (2022-02-18 11:42:48)
Offline
No, I would rather compile it from source and use LD_LIBRARY_PATH, because it's trivial
can you tell how to do that ?
because I cloned the git repo and tried configuring the installation but i didn't understand a bit, i.e. couldn't figure out the set configs that would not lead to removal of libcrypt.so.1
and how to use LD_LIBRARY_PATH ?
for this particular problem, coz I don't have it set by default.
and also tell if that's a permanent fix ?
i.e. it would not throw errors again on updating, say using an AUR helper (yay for me) because as a temporary fix, i have copied the libcrypt.so.1 in /usr/lib/ and it works for now.
I consider that the thread may be closed as Allan answered my question.
so not yet please.
Offline
i didn't understand a bit, i.e. couldn't figure out the set configs that would not lead to removal of libcrypt.so.1
The AUR PKGBUILD already does this and hence documents how to do it.
and how to use LD_LIBRARY_PATH ?
for this particular problem, coz I don't have it set by default.
Not needed if you use the PKGBUILD as that installs libcrypt.so.1 into the default location for libraries /usr/lib which is automatically searched by the dynamic linker.
and also tell if that's a permanent fix ?
i.e. it would not throw errors again on updating, say using an AUR helper (yay for me) because as a temporary fix, i have copied the libcrypt.so.1 in /usr/lib/ and it works for now.
You do not consider a package intended to resolve exactly this issue a permanent fix?
Offline
EmErAJID wrote:No, I would rather compile it from source and use LD_LIBRARY_PATH, because it's trivial
can you tell how to do that ?
because I cloned the git repo and tried configuring the installation but i didn't understand a bit, i.e. couldn't figure out the set configs that would not lead to removal of libcrypt.so.1and how to use LD_LIBRARY_PATH ?
for this particular problem, coz I don't have it set by default.
Don't.
It always amazes me how people with latch on to the worst solution in a thread. Allan gave you the solution in post #2.
Last edited by Scimmia (2022-02-18 19:39:48)
Online
Because it has been deprecated for ages in glibc and was finally removed. Use this instead:
https://aur.archlinux.org/packages/libxcrypt-compat
I'm using proprietary software houdini fx and have the same problem. If I install libxcrypt-compat or manually copy libcrypt.so.1 to /usr/lib/, I get the following output with random number:
munmap_chunk(): invalid pointer
[1] 59894 IOT instruction (core dumped) houdini
Installing lib32-libxcrypt-compat has no effect.
Offline
Allan wrote:f I install libxcrypt-compat or manually copy libcrypt.so.1 to /usr/lib/, I get the following output with random number:
munmap_chunk(): invalid pointer [1] 59894 IOT instruction (core dumped) houdini
Assuming you mean you copied libcrypt-2.33.so from glibc-2.33-4 which libcrypt.so.1 linked to then the issue still occurring indicates a different cause.
Offline
Assuming you mean you copied libcrypt-2.33.so from glibc-2.33-4 which libcrypt.so.1 linked to then the issue still occurring indicates a different cause.
I did not know about libcrypt-2.33.so, libxcrypt-compat in AUR does not provide it. I tried copying libcrypt-2.33.so and from libcrypt.so.1 different versions of glibc to /usr/lib/, but still no effect. Before recent update all works fine.
Offline
Because it has been deprecated for ages in glibc and was finally removed. Use this instead:
https://aur.archlinux.org/packages/libxcrypt-compat
Thank you for the clear answer. I don't have room to feel judgey about deprecation when the latest version of MATLAB still uses it.
Installed from AUR, working 2 mins later. Danke.
Offline
I tried copying libcrypt-2.33.so and from libcrypt.so.1 different versions of glibc to /usr/lib/
So mixing glibc 2.33 and 2.35 libraries? Dumb idea.
Undo that, install libxcrypt-compat.
If not having libcrypt.so.1, copying the 2.33 version and installing libxcrypt-compat all yield the same error, it's probably not about libcrypt.so.1 at all - please post the coredump.
Offline