From owner-freebsd-stable Fri Jan 11 13:48:46 2002 Delivered-To: freebsd-stable@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id 7B32A37B41B for ; Fri, 11 Jan 2002 13:48:36 -0800 (PST) Received: by peitho.fxp.org (Postfix, from userid 1501) id 203C113669; Fri, 11 Jan 2002 16:48:30 -0500 (EST) Date: Fri, 11 Jan 2002 16:48:30 -0500 From: Chris Faulhaber To: Steven Farmer Cc: freebsd-stable@freebsd.org Subject: Re: Should /sbin/mount_smbfs be static? Message-ID: <20020111214829.GA1489@peitho.fxp.org> Mail-Followup-To: Chris Faulhaber , Steven Farmer , freebsd-stable@freebsd.org References: <15423.22138.622826.566389@catbert.megahack.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <15423.22138.622826.566389@catbert.megahack.com> User-Agent: Mutt/1.3.24i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 11, 2002 at 03:17:46PM -0600, Steven Farmer wrote: > Is it ok for /sbin/mount_smbfs to be dynamically linked? Just > wondering, since I noticed that it's the only thing /sbin that is: >=20 > [catbert] ~> uname -a > FreeBSD catbert.megahack.com 4.5-RC FreeBSD 4.5-RC #0: Fri Jan 11 12:32:2= 2 CST 2002 steve@catbert.megahack.com:/usr/obj/usr/src/sys/CATBERT i386 > [catbert] ~> file /sbin/mount_smbfs > /sbin/mount_smbfs: ELF 32-bit LSB executable, Intel 80386, version 1 (Fre= eBSD), dynamically linked (uses shared libs), stripped > [catbert] ~> ldd /sbin/mount_smbfs > /sbin/mount_smbfs: > libsmb.so.1 =3D> /usr/lib/libsmb.so.1 (0x28066000) > libc.so.4 =3D> /usr/lib/libc.so.4 (0x28071000) >=20 Have you looked at src/sbin/mount_smbfs/Makefile? In particular: # Needs to be dynamically linked for optional dlopen() access to # userland libiconv (see the -E option). # NOSHARED?=3D NO --=20 Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: FreeBSD: The Power To Serve iEYEARECAAYFAjw/Xa0ACgkQObaG4P6BelCOvQCeKsR99Qu7+bklg30L/f+CpkP/ 2TcAoKSF7Jqb0tayQwK+2TR13ldq2fDo =IFRU -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message