Rolf Sponsel <Rolf.Sponsel@kstr.lth.se> writes:
> From my understanding, the preferred way
> for Solaris is to only set LD_RUN_PATH,
> and avoid setting LD_LIBRARY_PATH, at
> link-time. This is what I usually do.
No, the preferred thing is to set -rpath within the executable, which
we do already (see Makefile.solaris). It's possible that you need to
modify rpathdir to include /usr/local/ssl/lib and /usr/local/lib,
but I'd think that indicates fairly serious brain damage in Solaris'
runtime loader. We have many other Solaris users and none of them
have complained of this, so I wonder if you don't have something
misconfigured.
> 1). If I run './configure --with-pam --with-ssl' with
> LD_RUN_PATH = '/usr/local/ssl/lib:/usr/local/lib'
> configure will fail to find the ssl libs, if I do
> not have LD_LIBRARY_PATH set.
See configure's --with-libraries option.
regards, tom lane