From owner-freebsd-ports@FreeBSD.ORG Thu Feb 28 21:21:59 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7FD91065682; Thu, 28 Feb 2008 21:21:59 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E62CD8FC19; Thu, 28 Feb 2008 21:21:58 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47C725F5.1070503@FreeBSD.org> Date: Thu, 28 Feb 2008 22:21:57 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: Sergey Matveychuk References: <47C6701C.2090009@FreeBSD.org> In-Reply-To: <47C6701C.2090009@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: misc/compat6x X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 21:21:59 -0000 Sergey Matveychuk wrote: > Hi. > > I tried to start an application on 7.0 that requires libpthread.so.2. > I've installed misc/compat6x, but have a problem: > /usr/local/lib/compat/libpthread.so.2: Undefined symbol > "__malloc_lock"Could not load addin module > "/usr/local/lib/libtfmessbsp.so"! > > As I can see __malloc_lock symbol is in libc.so.6 from compat6x port but > does not load. Why? Any ideas how to fix it? How is libc.so.6 being loaded by the application? Is it linked explicitly or is it (incorrectly) trying to dlopen("libc.so") or similar? Kris