--- libz-1.2.8.2015.12.26/Makefile.in.orig 2015-12-21 22:12:17.000000000 +0000 +++ libz-1.2.8.2015.12.26/Makefile.in 2017-12-26 10:04:53.364000000 +0000 @@ -145,7 +145,7 @@ install-shared-lib-so: libz.so mkdir -p $(DESTDIR)$(libdir) - install -m 644 libz.so.$(VERSION) $(DESTDIR)$(libdir)/libz.so.$(VERSION) + install -m 755 libz.so.$(VERSION) $(DESTDIR)$(libdir)/libz.so.$(VERSION) ln -fs libz.so.$(VERSION) $(DESTDIR)$(libdir)/libz.so.1 ln -fs libz.so.$(VERSION) $(DESTDIR)$(libdir)/libz.so diff -u a/zutil.h b/zutil.h --- a/zutil.h 2015-12-21 17:11:08.000000000 -0500 +++ b/zutil.h 2019-02-02 11:35:16.680927483 -0500 @@ -21,6 +21,7 @@ #include #include +ZLIB_INTERNAL extern const char * const z_errmsg[]; /* indexed by 2-zlib_error */ #define ERR_MSG(err) z_errmsg[Z_NEED_DICT-(err)]