From dc987c66d8e77a1a9feb11504719c06fe7461b37 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Tue, 20 Nov 2007 03:29:05 -0500 Subject: [PATCH] RC1: In Solaris 10 do not use versioned solibs Message-ID: <4742E121.2090306@iki.fi> p4raw-id: //depot/perl@32418 --- hints/solaris_2.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index 82e3941..644c96d 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -42,6 +42,14 @@ esac set `echo $glibpth | sed -e 's@/usr/ucblib@@' -e 's@ /lib @ @'` glibpth="$*" +# In Solaris 10, we don't want versioned shared libraries because those +# often indicate a private use only library. Especially badly that would +# break things with SUNWbdb (Berkeley DB) being installed, which brings in +# /usr/lib/libdb.so.1, but that is not really meant for public consumption. +case "`uname -r`" in +5.10) ignore_versioned_solibs=y ;; +esac + # Remove unwanted libraries. -lucb contains incompatible routines. # -lld and -lsec don't do anything useful. -lcrypt does not # really provide anything we need over -lc, so we drop it, too. -- 2.7.4