From owner-freebsd-hackers@FreeBSD.ORG Sat Dec 1 00:49:07 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AD6B16A417 for ; Sat, 1 Dec 2007 00:49:07 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (mail0.rawbw.com [198.144.192.41]) by mx1.freebsd.org (Postfix) with ESMTP id 855FF13C442 for ; Sat, 1 Dec 2007 00:49:07 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mail0.rawbw.com (localhost [127.0.0.1]) by mail0.rawbw.com (8.13.8/8.13.8) with ESMTP id lB10n3vG047442; Fri, 30 Nov 2007 16:49:03 -0800 (PST) Received: (from www@localhost) by mail0.rawbw.com (8.13.8/8.13.8/Submit) id lB10n3I3047440; Fri, 30 Nov 2007 16:49:03 -0800 (PST) X-Authentication-Warning: mail0.rawbw.com: www set sender to yuri@rawbw.com using -f Received: from ip224.carlyle.sfo.ygnition.net (ip224.carlyle.sfo.ygnition.net [24.219.144.224]) by webmail.rawbw.com (IMP) with HTTP for ; Fri, 30 Nov 2007 16:49:03 -0800 Message-ID: <1196470143.4750af7f6accf@webmail.rawbw.com> Date: Fri, 30 Nov 2007 16:49:03 -0800 From: Yuri To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 X-Originating-IP: 24.219.144.224 X-Mailman-Approved-At: Sat, 01 Dec 2007 01:58:50 +0000 Subject: Linux executable picks up FreeBSD library over linux one and breaks X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2007 00:49:07 -0000 I am trying to run Linux version of Skype and am getting the following error: /usr/home/yuri/skype/current/skype: error while loading shared libraries: /usr/lib/librt.so.1: ELF file OS ABI File /usr/lib/librt.so.1 is FreeBSD library and /usr/compat/linux/lib/librt.so.1 is Linux library with the same name installed by linux_base-fc-4_10. My LD_LIBRARY_PATH is set to /usr/compat/linux/lib:/usr/compat/linux/usr/lib. Why FreeBSD version is being picked up even though it's not in LD_LIBRARY_PATH? Yuri