From owner-freebsd-questions@FreeBSD.ORG Tue Sep 27 15:21:45 2005 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 D251E16A41F for ; Tue, 27 Sep 2005 15:21:45 +0000 (GMT) (envelope-from millueradfa@yahoo.com) Received: from web54509.mail.yahoo.com (web54509.mail.yahoo.com [206.190.49.159]) by mx1.FreeBSD.org (Postfix) with SMTP id 6993443D55 for ; Tue, 27 Sep 2005 15:21:45 +0000 (GMT) (envelope-from millueradfa@yahoo.com) Received: (qmail 28725 invoked by uid 60001); 27 Sep 2005 15:21:44 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ep496xcAO5HV4a/aZi0uOH/wKQR7qdNFlay+cuxIsn4TYnhZ99tOSDqS10nAOxV3RTXErei23VLhtfWrk18CyxvYJ3U9dJFX5zsWu3mHmiScmwE0gBCopK9X0cI2FpzuisjmVBuT01aOvjMTK2t4huaqcHLguzvP8FrEVwYMLRk= ; Message-ID: <20050927152144.28723.qmail@web54509.mail.yahoo.com> Received: from [193.201.54.32] by web54509.mail.yahoo.com via HTTP; Tue, 27 Sep 2005 08:21:44 PDT Date: Tue, 27 Sep 2005 08:21:44 -0700 (PDT) From: Milscvaer To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Questions regarding FreeBSD packages and dependancies 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: Tue, 27 Sep 2005 15:21:45 -0000 When I upgrade a package, say Gaim, and if I would also like all of its library dependancies to be upgraded, if new versions of certian libraries, such as Gtk are installed, will the old versions of Gtk remain in place and older programs that had been using the older version will continue to use the old version? The way, currently, that I believe we avoid the DLL-hell situation on FreeBSD, where a new program would install a new version of a library, blowing up older programs on the system that used an older version of the same library, being incompatable with the new version, is to append a version number to every .so file in the lib directories, and link all programs to a specific version of a library, such as one program may use mylib.so.1.0 while a new program might use mylib.so.2.0. Thus if a new program needs a new version of a library, it can be installed and use the new version, but all older programs can continue to use the old version. If I use portupgrade to upgrade all dependancies for a package, will it leave the older versions of library dependancies in place so older programs which used the older version can continue to use it? I tried to use pkg_add to install a new program from stable, however, it complained about older versions of gtk being installed and refused to continue. Why not just leave the old versions of Gtk there so existing programs may continue to use them, and have new programs installed from stable use the new version? Thank you for your response to these questions. They are greatly appreciated. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com