experchange > ruby

Michael Uplawski (02-09-20, 04:52 PM)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Good afternoon

This is a duplicate of a post, I put on Linuxquestions.org. If you
believe that Usenet is dead and won't talk to a phantom, maybe help the
living, over there:

linux-software-2/%5Bruby%5D-xcrypt_2-0-not-found-4175669253/

TIA
- ----------------- Full-quote -------------------
Probably only Debian based systems are concerned.

Anything “Ruby” fails with the following error:
- -------
/lib64/libcrypt.so.1: version `XCRYPT_2.0' not found (required by \
[something])
- -------

The “something” in the square brackets is mostly libruby,
2.5 or 2.7. But when I try to compile a new Ruby-interpreter, the just
created miniruby fails, too, meaning that Ruby is unavailable on my
system. This creates difficulties, as I cannot run the nokogiri XML
parser, which is part of some of my important shell-scripts. Notably
translations btw. French, English and German are affected...

Curiously, before I compiled a brand new, bleeding edge vim 8.2, also
the editor could not be run, neither from the command-line, nor from the
slrn news-reader, nor mutt. With the new version, the error is no longer
happening. I ignore what vim does with libruby.

My libcrypt is 1:4.4.10-10 (Debian) and as far as I am informed, this
version corresponds to XCRYPT_2.0.

Say something funny.
- ---------------- END Full-quote ----------------

- --
GnuPG rsa3072 2018-09-29 [SC] [expires: 2020-09-28]
C36288CD0571D71B0D7642A1688FE966708A032E
sub rsa3072 2018-09-29 [E] [expires: 2020-09-28]
Michael Uplawski (02-13-20, 11:16 PM)
SOLVED

I set LD_LIBRARY_PATH, now the right version of libcrypt is found and
used.
Similar Threads