From owner-freebsd-current@FreeBSD.ORG Wed Mar 3 10:50:24 2004 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 A634F16A4CE; Wed, 3 Mar 2004 10:50:24 -0800 (PST) Received: from coruscant.rfc1149.org (coruscant.rfc1149.org [217.160.130.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4158443D2F; Wed, 3 Mar 2004 10:50:24 -0800 (PST) (envelope-from arne@rfc2549.org) Received: by coruscant.rfc1149.org (Postfix, from userid 110) id F3B753D10; Wed, 3 Mar 2004 19:50:22 +0100 (CET) Received: from kamino.rfc1149.org (kamino.rfc1149.org [2001:8d8:81:11::2]) by coruscant.rfc1149.org (Postfix) with ESMTP id 1CA3D3CE4; Wed, 3 Mar 2004 19:50:20 +0100 (CET) Received: by kamino.rfc1149.org (Postfix, from userid 1001) id 63DFF6257; Wed, 3 Mar 2004 19:50:14 +0100 (CET) To: Alfred Perlstein In-Reply-To: <20040303105149.GH56622@elvis.mu.org> (Alfred Perlstein's message of "Wed, 3 Mar 2004 02:51:49 -0800") References: <20040303061144.GE56622@elvis.mu.org> <404592F5.1060206@freebsd.org> <20040303104657.GG56622@elvis.mu.org> <20040303105149.GH56622@elvis.mu.org> From: Arne Schwabe Date: Wed, 03 Mar 2004 19:50:14 +0100 Message-ID: <86u115kbo9.fsf@kamino.rfc1149.org> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on coruscant.rfc1149.org X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Level: cc: David Xu cc: current@freebsd.org Subject: Re: fix for libpthread 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, 03 Mar 2004 18:50:24 -0000 Alfred Perlstein writes: > I see somehow it got linked against BOTH libpthread and libc_r, > there has to be a way to prevent that sort of bogus linkage > from happening. :( Or at least make it work right when it > does happen... For me this in /etc/libmap.conf works: [/usr/local/bin/mplayer] libpthread.so.1 libc_r.so.5 libpthread.so libc_r.so libc_r.so.5 libc_r.so.5 libc_r.so libc_r.so [mplayer] libpthread.so.1 libc_r.so.5 libpthread.so libc_r.so libc_r.so.5 libc_r.so.5 libc_r.so libc_r.so The strange thing is that if I let both libraries point to pthread my mplayer does not work. Arne -- 666 is the number of the beast ;P 6667 is the number of you losing whatever social life you might have had. -- (bash #214827)