On at least x86_64-sun-solaris2.10, it's not a strict requirement that
the readline shared library is executable, but (like Linux) ldd will warn
if it's not.
12:52 PM dogbert readline$cd /local/gnu/lib/64
12:52 PM dogbert 64$ldd libreadline*.so*
libreadline.so:
warning: ldd: libreadline.so.5: is not executable
libreadline.so.5:
libreadline.so.6:
The trivial fix is to add solaris2* to the post-install case in
shlib-install.
Patch is
diff -ur readline-6.2.orig/support/shlib-install
readline-6.2/support/shlib-install
--- readline-6.2.orig/support/shlib-install 2009-10-28 08:30:18.000000000
-0500
+++ readline-6.2/support/shlib-install 2011-11-04 12:47:15.242400680 -0500
@@ -67,10 +67,11 @@
# HP-UX and Darwin/MacOS X require that a shared library have execute
permission
# Linux does, too, and ldd warns about it
+# Solaris doesn't strictly require it, but ldd will warn if it's not +x.
# Cygwin installs both a dll (which must go in $BINDIR) and an implicit
# link library (in $libdir)
case "$host_os" in
-hpux*|darwin*|macosx*|linux*)
+hpux*|darwin*|macosx*|linux*|solaris2*)
if [ -z "$uninstall" ]; then
chmod 555 ${INSTALLDIR}/${LIBNAME}
fi ;;
Thanks,
Tim
--
Tim Mooney [email protected]
Enterprise Computing & Infrastructure 701-231-1076 (Voice)
Room 242-J6, IACC Building 701-231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline