From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 21 17:49:20 2013 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1254E1A5 for ; Sun, 21 Jul 2013 17:49:20 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 02CEDB5E for ; Sun, 21 Jul 2013 17:49:19 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r6LHnJ39019788 for ; Sun, 21 Jul 2013 10:49:19 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <51EC1F1F.2050504@rawbw.com> Date: Sun, 21 Jul 2013 10:49:19 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130628 Thunderbird/17.0.7 MIME-Version: 1.0 To: emulation@freebsd.org Subject: Why linuxlator rejects libc.so.6 for sligtly newer GNU/Linux 2.6.24 ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 17:49:20 -0000 I am trying to run one Linux program on 9.1 amd64. I copied all relevant shared libraries from Ubuntu and set the directory with LD_LIBRARY_PATH and libc.so.6 with LD_PRELOAD. The newer version of libc.so.6 causes the problem: loader for some reason doesn't accept it and complains: ERROR: ld.so: object 'my-libs/libc.so.6' from LD_PRELOAD cannot be preloaded: ignored. This special libc.so.6 is from GNU/Linux 2.6.24 google-talk-libs/libc.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), BuildID[sha1]=0x81a55e819c61f581e6a9179eaf59726dd80aea31, for GNU/Linux 2.6.24, stripped While supplied with linux_base-f10-10_7 libc.so.6 is from GNU/Linux 2.6.9: /compat/linux/lib/libc.so.6: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), BuildID[sha1]=0x4f5aefe82ff9a8102064d90e7a03c283b6751c39, for GNU/Linux 2.6.9, not stripped Difference is only in the minor version. Why this library gets rejected? Yuri