(Solaris) Linker flags in 2.5.1p1... (fwd)

John Horne J.Horne at plymouth.ac.uk
Wed Feb 21 05:01:30 EST 2001


On 20-Feb-01 at 17:26:25 mouring at etoh.eviladmin.org wrote:
> While I'm compiling 2.5.1p1, I've got the following remarks:
> 
>               Host: sparc-sun-solaris2.7
>           Compiler: cc
>     Compiler flags: -fast -xarch=v7
> Preprocessor flags:  -I/usr/local/include -I../include -I../include
>       Linker flags: -L../lib/sol7/sparcv7 -L/usr/local/lib
> -R/usr/local/lib -L/usr/ucblib -R/usr/ucblib -L../lib -R../lib -L../lib
> -R../lib
>          Libraries: -lwrap -lz -lsocket -lnsl  -lgen  -lcrypto
> 
> You should not ever use '-L/usr/ucblib -R/usr/ucblib', since Solaris BSD
> compat libraries are evil broken and AFIAK you don't need anything from
> /usr/ucblib.
> 
As far as I am aware, this is true. Under Solaris 8 (10/00) it seems to work
okay without them.

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne at plymouth.ac.uk
PGP key available from public key servers





More information about the openssh-unix-dev mailing list