From owner-freebsd-questions@FreeBSD.ORG Wed Feb 13 17:36:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C243E16A46C for ; Wed, 13 Feb 2008 17:36:02 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.183]) by mx1.freebsd.org (Postfix) with ESMTP id 7F11713C4CE for ; Wed, 13 Feb 2008 17:36:01 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by el-out-1112.google.com with SMTP id r27so89023ele.3 for ; Wed, 13 Feb 2008 09:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=ry8IJksTuki90lHwKCFUga4RVteZGKvhBgDIHq04qDY=; b=Arh6PjLAexKMUEUt09HXIZzP1cfKrIW+T3S6wmf3ewrNc7thaYOdsf5SyLo3mZnLBbTBDdc720kJzGUbB+UEXt2iD6Lv9lbqevHwN8Rb8x4Fkfj1rLZxWRxw6gYWRMA57wGn4z0CH/FDJVGMBXaN2KX9BHFapXU5ulmzsEgsaDw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=VGQ7FJejSxikHFQISV5IrddRiiHmBvLSd9UMzi07jBfKJmqAyaFxqHjFp4qEVuIrUWFQeJ8nLGShPNeaGwFU4BVYTZfSV3sZqPMxrYyVFP7HS9Rx04CxLwRpbaVBNlIybs7+ViCbDfEziugEQZ2OracrQJB2VUyhj4xcFY5XtXw= Received: by 10.143.37.20 with SMTP id p20mr124307wfj.236.1202924160237; Wed, 13 Feb 2008 09:36:00 -0800 (PST) Received: by 10.142.194.10 with HTTP; Wed, 13 Feb 2008 09:36:00 -0800 (PST) Message-ID: <539c60b90802130936o3e509fefha9452eb24acb6056@mail.gmail.com> Date: Wed, 13 Feb 2008 10:36:00 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "User Questions" In-Reply-To: <539c60b90802121339k24b09f6hdc07f3faf035ed2f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <539c60b90802121339k24b09f6hdc07f3faf035ed2f@mail.gmail.com> X-Google-Sender-Auth: 29b8a507c30b18ce Subject: linux program only runs from /compat/linux/usr/lib X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: stevefranks@ieee.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 17:36:02 -0000 If I cd to /compat/linux/usr/lib, and start , it runs fine. If I start it from any other location, I get /usr/lib/libfontconfig.so.1 : wrong ABI. So the app is finding the FreeBSD lib instead of the Linux one. I tried putting /compat/linux/usr/lib at the very front of my path and it doesn't seem to fix it. Brandelf looks correct (SRV4) for both the app, and fontconfg.so.1. So, how does FBSD figure out what lib to grab, and why is it grabbing the wrong one? Steve