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

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Wed Feb 21 04:26:25 EST 2001



Comments from the rest of the Solaris group?

- Ben

---------- Forwarded message ----------
Date: Tue, 20 Feb 2001 11:20:33 +0100
From: Volker Paulsen <paulsen at orbiteam.de>
To: mouring at etoh.eviladmin.org
Subject: Linker flags in 2.5.1p1...

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.

Ignore '-L../lib/sol7/sparcv7'; this is for my multi sparc platform
build. Also ignore '-L../lib -R../lib', which  is 
generated by the --with-ssl-dir=.. switch.

Regards,
--Volker






More information about the openssh-unix-dev mailing list