Date: Fri, 11 Jan 2002 16:48:30 -0500 From: Chris Faulhaber <jedgar@fxp.org> To: Steven Farmer <steve@megahack.com> Cc: freebsd-stable@freebsd.org Subject: Re: Should /sbin/mount_smbfs be static? Message-ID: <20020111214829.GA1489@peitho.fxp.org> In-Reply-To: <15423.22138.622826.566389@catbert.megahack.com> References: <15423.22138.622826.566389@catbert.megahack.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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: > > [catbert] ~> uname -a > FreeBSD catbert.megahack.com 4.5-RC FreeBSD 4.5-RC #0: Fri Jan 11 12:32:22 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 (FreeBSD), dynamically linked (uses shared libs), stripped > [catbert] ~> ldd /sbin/mount_smbfs > /sbin/mount_smbfs: > libsmb.so.1 => /usr/lib/libsmb.so.1 (0x28066000) > libc.so.4 => /usr/lib/libc.so.4 (0x28071000) > 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?= NO -- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020111214829.GA1489>
