Ask Your Question
0

Install old versions of libraries systemwide

asked 2018-01-08 18:13:38 -0500

alfC gravatar image

updated 2018-01-08 18:14:47 -0500

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
1

answered 2018-01-10 13:40:07 -0500

ssieb 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

Question Tools

2 followers

Stats

Asked: 2018-01-08 18:13:38 -0500

Seen: 166 times

Last updated: Jan 10