From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 21:39:11 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 674F116A417 for ; Tue, 12 Feb 2008 21:39:11 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.188]) by mx1.freebsd.org (Postfix) with ESMTP id 264F713C467 for ; Tue, 12 Feb 2008 21:39:10 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: by rn-out-0910.google.com with SMTP id s42so2417976rnb.13 for ; Tue, 12 Feb 2008 13:39:10 -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:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=ry8IJksTuki90lHwKCFUga4RVteZGKvhBgDIHq04qDY=; b=wU26HKvHr4xHJBltQ/ku7X/PYC2kH7bzPyC/R238dnTJMK2CHyK0rnLSVuUJ1l24swfhCD6JLZNv1qJGbcpUrt4PvEKtCbUHLjbNNhKAeFSmLnROV05VQJ8XdvEo/oEKDwVJLTq4zJMRroGt8wqc5F94HUZY3ejkdM8t8m+cHt4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=BW6YJ/AbhBkgmsU4HuwueTp56S9Fa/aRzKyKrE2Ql3DlmypvAub4ehMnXWUEt4D8gw7higFHHekT4+ox1EJBbuhKXEodJhN8kIB+vI+Ua9JJUskQy6qGQe3ufoB8AsaIwRj+EgCY6EDeENgZtU5PM40RWwSoQjYBZVKlQsEIi5M= Received: by 10.143.17.13 with SMTP id u13mr1491466wfi.69.1202852349286; Tue, 12 Feb 2008 13:39:09 -0800 (PST) Received: by 10.142.194.10 with HTTP; Tue, 12 Feb 2008 13:39:09 -0800 (PST) Message-ID: <539c60b90802121339k24b09f6hdc07f3faf035ed2f@mail.gmail.com> Date: Tue, 12 Feb 2008 14:39:09 -0700 From: "Steve Franks" Sender: bahamasfranks@gmail.com To: "User Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: c181052d3426529d 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: Tue, 12 Feb 2008 21:39:11 -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