Static binaries on AIX and Solaris
From: Jason Grove (jgrove@wvu.edu)
Date: 12/20/02
- Previous message: Marrion, Jim: "RE: How to allow multiple hosts with same key??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 20 Dec 2002 13:56:33 -0500 From: Jason Grove <jgrove@wvu.edu> To: secureshell@securityfocus.com
According to the FAQ on :
<http://www.ssh.com/support/faq/secureshellserver/qa_191_687.html> I
should be able to build the sftp-server as a static binary. However the
when adding the --enable-static=yes to the configure line it still only
builds the shared ones. I need to build the static version to chroot
some people to a home directory. Does any one know how to do it?
The info I found on ssh.com about building static binaries for AIX does
not work for me:
/home/grove/ssh/ssh-3.2.2>CFLAGS="-bnso -bl:/usr/lib/syscalls.exp"
./configure
loading cache ./config.cache
checking distribution consistency... done
checking host system type... powerpc-ibm-aix4.3.2.0
checking target system type... powerpc-ibm-aix4.3.2.0
checking build system type... powerpc-ibm-aix4.3.2.0
checking cached information... ok
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... missing
checking for working automake-1.4... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether building in source directory... yes
checking using purify... no
checking for gcc... gcc
checking for gcc... /usr/vac/bin/xlc
checking whether the C compiler (/usr/vac/bin/xlc -bnso
-bl:/usr/lib/syscalls.exp ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
I have also tried using the /usr/vac/bin/cc with the -bstatic option.
The compiler on AIX is IBM's Visual Age C++ 5.0....
On solaris I am using Forte 6, but the --enable-static=yes is not picked
up. (I looked in the configure file and the stuff for solaris is
commented out, which contradicts their FAQ saying that it will work...)
Any help would be appreciated....
jason
(PS going to OpenSSH is not an option...)
-- Jason Grove | One Waterfront Place Principal Systems Administrator | PO Box 6504 WVU Information Systems | Morgantown, WV 26506-6504 Ph: 304.293.3011 x 2115 | E-Mail: jgrove@wvu.edu
- Next message: Jesse Trucks: "Re: need help with public keys"
- Previous message: Marrion, Jim: "RE: How to allow multiple hosts with same key??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|