From owner-freebsd-questions@FreeBSD.ORG Mon Mar 22 10:54:23 2004 Return-Path: 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 9243416A4CE for ; Mon, 22 Mar 2004 10:54:23 -0800 (PST) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EE0143D3F for ; Mon, 22 Mar 2004 10:54:23 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.10/8.12.10) id i2MIs5Ih038336; Mon, 22 Mar 2004 12:54:05 -0600 (CST) (envelope-from dan) Date: Mon, 22 Mar 2004 12:54:04 -0600 From: Dan Nelson To: Matthew Emmerton Message-ID: <20040322185404.GE26638@dan.emsphone.com> References: <405F2F92.9090600@ant.uni-bremen.de> <20040322140249.I76571@gabby.gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040322140249.I76571@gabby.gsicomp.on.ca> X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: questions@freebsd.org Subject: Re: Cannot find libpthread on 5.2.1-RELEASE-p3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Mar 2004 18:54:23 -0000 In the last episode (Mar 22), Matthew Emmerton said: > On Mon, 22 Mar 2004, Heinrich Rebehn wrote: > > > Hi list, > > > > this is all i get when searching for libpthread on my system: > > > > # find /usr -name 'libpthread*' > > /usr/src/lib/libpthread > > /usr/compat/linux/lib/libpthread-0.9.so > > /usr/compat/linux/lib/libpthread.so.0 > > # find /lib -name 'libpthread*' > > # > > > > How do i install libpthread? What am i missing? > > libpthread does not exist anymore. Use libc_r instead. Actually, libpthread exists in -current, but not in 5.2. Linking with -lc_r should work, and in 5.2 it'll really give you libkse (which is called libpthread in -current). -- Dan Nelson dnelson@allantgroup.com