From owner-freebsd-questions@FreeBSD.ORG Sat Nov 29 06:17:34 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A55616A4CE for ; Sat, 29 Nov 2003 06:17:34 -0800 (PST) Received: from sccmmhc02.asp.att.net (sccmmhc02.asp.att.net [204.127.203.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 363C243FAF for ; Sat, 29 Nov 2003 06:17:30 -0800 (PST) (envelope-from david.fleck@mchsi.com) Received: from grond (12-216-14-105.client.mchsi.com[12.216.14.105]) by sccmmhc02.asp.att.net (sccmmhc02) with SMTP id <20031129141728mm2006nejge>; Sat, 29 Nov 2003 14:17:28 +0000 Date: Sat, 29 Nov 2003 08:17:28 -0600 (CST) From: David Fleck Sender: dcf@grond.sourballs.org To: "Volf, Frank" In-Reply-To: <63A8C4BBFA4A4240A200D0EA7544C3BA0143DC@nlex003.nl.int.atosorigin.com> Message-ID: <20031129081050.O63627@grond.sourballs.org> References: <63A8C4BBFA4A4240A200D0EA7544C3BA0143DC@nlex003.nl.int.atosorigin.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD Questions Subject: Re: Statically linked opensshd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2003 14:17:34 -0000 On Wed, 26 Nov 2003, Volf, Frank wrote: > I'm trying to statically link opensshd (from the portable openssh port) > on a FreeBSD 4.9 system, but apparently it fails statically linking > libpam. > ..... [snip gcc chatter] [snip linker complaints] I'm using an old 4.6.2 system, so this may be of limited value to you, but for what it's worth... on my system libpam.a does not define these symbols either. It looks like I would have to include the following libs (at least - I may have missed some): libopie.a libradius.a libskey.a libtacplus.a to get the undefined symbols in libpam.a. (There are also lib*_p.a versions of each of these - I don't know what the difference between them is.) Hope that helps somewhat. -- David Fleck david.fleck@mchsi.com