From owner-freebsd-questions@FreeBSD.ORG Fri Sep 15 19:59:10 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CCAD216A412 for ; Fri, 15 Sep 2006 19:59:10 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75BEB43D67 for ; Fri, 15 Sep 2006 19:59:10 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin03-en2 [10.13.10.148]) by smtpout.mac.com (Xserve/8.12.11/smtpout08/MantshX 4.0) with ESMTP id k8FJx9GD020352; Fri, 15 Sep 2006 12:59:10 -0700 (PDT) Received: from [17.214.13.96] (a17-214-13-96.apple.com [17.214.13.96]) (authenticated bits=0) by mac.com (Xserve/smtpin03/MantshX 4.0) with ESMTP id k8FJx4rR000103; Fri, 15 Sep 2006 12:59:08 -0700 (PDT) In-Reply-To: <6207f7d90609151250y101a494bp4838e838cb41b35a@mail.gmail.com> References: <6207f7d90609151250y101a494bp4838e838cb41b35a@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6E94C8D2-D5BF-4616-AEE8-A859F7735427@mac.com> Content-Transfer-Encoding: 7bit From: Chuck Swiger Date: Fri, 15 Sep 2006 12:59:03 -0700 To: Don Munyak X-Mailer: Apple Mail (2.752.2) X-Brightmail-Tracker: AAAAAA== X-Brightmail-scanned: yes Cc: FreeBSD Questions Subject: Re: rebuild any statically linked ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 19:59:10 -0000 On Sep 15, 2006, at 12:50 PM, Don Munyak wrote: > A message states" Don't forget to rebuild any statically linked ports > to use the updated libraries after you install them." > > what does this mean and how do I [ac]complish rebuilding statically > linked ports? Most software is dynamicly linked, and will therefore load the updated versions of the system libraries without needing any work on your part. Statically linked programs are rather uncommon nowadays, but can be identified via the "file" command: % file /sbin/init /sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.4-CURRENT (rev 5), statically linked, stripped % file /bin/sh /bin/sh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 5.4-CURRENT (rev 5), dynamically linked (uses shared libs), stripped If any of the ports you have installed is statically linked, you can rebuild it via a "portupgrade -af _portname_" or a "make deinstall && make reinstall" in that ports' directory. -- -Chuck