I have some software provided as an x8-64.rpm. The one specifically giving me a problem let's call it MYSoftwareRPM.x86_64
.
Using Yast-Software Manager it tells me nothing provides libreadline.so.6()(64bit) needed by MySoftwareRPM.x86_64
I am running SLES 11.4 x86-64 and that has libreadline5. If I access the SLES_12.2.iso repository I can see readline-6.3 and if I choose that I get a 100+ dependency problems basically uninstalling SLES version 11.4 and giving me the impression if I want readline6 I need to be running SLES 12.2.
I was able to download readline-6.3.tar.gz
and successfully build it via configure --prefix=/usr/local/readline-6.3; make all; make install
Whether this is correct or not, I manually did
ln -s /usr/local/readline-6.3/lib/libreadline.so.6 /lib64/libreadline.so.6
ln -s /usr/local/readline-6.3/lib/libreadline.so.6 /lib/libreadline.so.6
ln -s /usr/local/readline-6.3/lib/libreadline.so.6 /usr/lib64/libreadline.so.6
ln -s /usr/local/readline-6.3/lib/libreadline.so.6 /usr/lib/libreadline.so.6
My questions are
- in such a scenario what is the best way to install `MySoftwareRPM.x86_64?
- is there a way to do it so the Yast Software Manager is happy and does not report any dependency problems?
- If I neglect the dependency issue with Yast Software Manager or manually install via
rpm -ivh MySoftwareRPM.x64_64
and force it, then provided the libreadline.so.6 is available will MySoftwareRPM.x86_64 work when executed? - if doing #3 then is all that's needed
LD_LIBRARY_PATH=${LIBRARY_PATH}:/usr/local/readline-6.3/lib
?