From owner-freebsd-current@FreeBSD.ORG Wed Sep 24 12:19:45 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 719AE16A4C0; Wed, 24 Sep 2003 12:19:45 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C55A43FE0; Wed, 24 Sep 2003 12:19:44 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id h8OJJhgG023984; Wed, 24 Sep 2003 15:19:43 -0400 (EDT) Date: Wed, 24 Sep 2003 15:19:43 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: "Matthew N. Dodd" In-Reply-To: <20030924144141.N35442@sasami.jurai.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Doug Barton cc: Scott Long cc: Freebsd Current Subject: Re: Fixing -pthreads (Re: ports and -current) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 19:19:45 -0000 On Wed, 24 Sep 2003, Matthew N. Dodd wrote: > On Wed, 24 Sep 2003, Daniel Eischen wrote: > > It isn't clear that libmap can deal with libraries that are > > linked to one specific threads library, and how libmap'd > > applications work. If mplayer is libmap'd to libthr, > > ogle is libmap'd to libpthread, and both are linked to > > libGL which is linked to libc_r, what happens? > > This is why its important to use the same name for the threading library > and never link directly with libkse, libthr, libc_r etc. Make libpthread > a symlink, please. Eek, no. Libpthread is libpthread, libthr is libthr, etc. A symlink doesn't help you anyways because the library/application becomes dependent on the thing it is symlink'd to, not the symlink. -- Dan Eischen