English
Ask Your Question
0

Install old versions of libraries systemwide

asked 2018-01-09 00:13:38 +0000

alfC gravatar image

updated 2018-01-09 00:14:47 +0000

I have a binary that should work in Fedora (compiled for that system), but uses an old version of a system library.

$ ./executable
program.linux-x86_64/2.13.0/linux-x86_64/bin/executable: error while loading shared libraries: libicuuc.so.50: cannot open shared object file: No such file or directory

However, Fedora 27 has version 57 of that library,

$ ls -all /usr/lib64/libicui18n.so
lrwxrwxrwx. 1 root root 18 Nov  8 07:46 /usr/lib64/libicui18n.so -> libicui18n.so.57.1

What is the best way to have libicui18n.so.50 in my system? can I install (downgrade) to an older version of the library? for example with dnf or set alternatives?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-01-10 19:40:07 +0000

Samuel Sieb gravatar image

Assuming you can't recompile the binary, I would suggest putting the old library version in /usr/local/lib64. You can get it by downloading the old rpm and unpacking it with Archive Manager.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
2 followers

Stats

Asked: 2018-01-09 00:13:38 +0000

Seen: 30 times

Last updated: Jan 10