While looking into build issues with kdeedu -- applications failing with weird
freetype symbol problems, which are fixed by setting LD_LIBRARY_PATH -- I
noticed that not all of our shared libraries are built with -z now. dump -Lv
confirmed this. For a quick check on your own system:
for i in /opt/foss/lib/*.so; do
echo "$i" `dump -Lv $i | grep BIND_NOW`
done | grep -v BIND_NOW
I patched up libtasn1 (it was going through an extra round of auto* after
configure, which broke our libtool), redland (rasqal had its own version of
libtool) and Qt (mkspecs/solaris-cc*/qmake.conf was missing -z now). There's
probably more packages with the same issues.
Please update at least these three at some convenient time. There's no
pressing need to do so except if you're running into Qt-related build
failures much much later.
In the end, we want to have -z now applied to all our shared libs and
executables, so that they don't accidentally pick up LD_LIBRARY_PATH and
break (in particular, when /usr/lib precedes /opt/foss/lib, freetype from the
former gets in the way of the latter).
[ade]