From: Jarkko Hietaniemi Date: Tue, 20 Nov 2007 08:29:05 +0000 (-0500) Subject: RC1: In Solaris 10 do not use versioned solibs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dc987c66d8e77a1a9feb11504719c06fe7461b37;p=p5sagit%2Fp5-mst-13.2.git RC1: In Solaris 10 do not use versioned solibs Message-ID: <4742E121.2090306@iki.fi> p4raw-id: //depot/perl@32418 --- 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.