1 Add a line to the librtas Makefile to create librtas.so.1 when
2 performing "make install".
4 Without this patch programs linked with librtas will fail at run time:
6 error while loading shared libraries: librtas.so.1: cannot open shared
7 object file: No such file or directory
9 A patch has been submitted upstream so it is likely that this patch
10 can be dropped after the next release of librtas.
12 Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
14 librtas_src/Makefile | 1 +
15 1 file changed, 1 insertion(+)
17 diff --git a/librtas_src/Makefile b/librtas_src/Makefile
18 index 3a10222..deba29d 100644
19 --- a/librtas_src/Makefile
20 +++ b/librtas_src/Makefile
21 @@ -33,6 +33,7 @@ install:
22 @$(call install_lib,$(LIBRTAS),$(DESTDIR))
23 @$(call install_inc,$(HEADERS),$(DESTDIR))
24 @ln -sf $(LIBRTAS) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBRTAS))/$(LIBRTAS_SONAME)
25 + @ln -sf $(LIBRTAS) $(DESTDIR)/$(LIB_DIR)$(call is_lib64,$(LIBRTAS))/$(LIBRTAS_SONAME).1
28 @$(call uninstall_lib,$(LIBRTAS),$(DESTDIR))