From owner-freebsd-questions@FreeBSD.ORG Mon Jun 19 13:12:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20E2916A479 for ; Mon, 19 Jun 2006 13:12:25 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0A6F43D45 for ; Mon, 19 Jun 2006 13:12:23 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.144] (helo=anti-virus03-07) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1FsJYF-0004VS-3p; Mon, 19 Jun 2006 14:12:23 +0100 Received: from [82.41.34.175] (helo=[192.168.0.2]) by asmtp-out6.blueyonder.co.uk with esmtp (Exim 4.52) id 1FsJYE-0004Tf-GT; Mon, 19 Jun 2006 14:12:22 +0100 Message-ID: <4496A2B6.80709@dial.pipex.com> Date: Mon, 19 Jun 2006 14:12:22 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: Jim Stapleton References: <80f4f2b20606181355x3155c33dp1e498dea663000c5@mail.gmail.com> <4495C1DF.9040506@dial.pipex.com> <80f4f2b20606181428o270e0dedl885bf38540723b15@mail.gmail.com> <449663A8.5070203@dial.pipex.com> <80f4f2b20606190255g6e742279r18fed593af119106@mail.gmail.com> <44967ABE.3030503@dial.pipex.com> <80f4f2b20606190423w2385da69o8984a50c47a8162c@mail.gmail.com> <44969C7F.1030307@dial.pipex.com> <80f4f2b20606190553me46f2e8xb30ed0fd28aabb69@mail.gmail.com> In-Reply-To: <80f4f2b20606190553me46f2e8xb30ed0fd28aabb69@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: smoke and mirrors - any way to trick an app into thinking I'm running linux? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2006 13:12:25 -0000 Alex wrote: > > The glibc you have might just do fine. Just make a symlink from the one > you want to the one you have and try! Jim Stapleton wrote: > The problem is I don't already have one, though there is a reply to my > other post that I'll be looking at in a few minutes, maybe something > will be there. I updated the locate db, and tried to locate "glibc", > but I only found documentation, and a few bin (not lib) compat files > that look like they are meant to upgrade something, but creat no > glibc. What I was considering was linking my "libc.so.6" file (no "g") > to a glibc file in compat. > glibc is the name of the "package" (gnu libc) but the actual library is called libc.so.?, at least on the Linux machine I just looked at. Are you sure the app is looking for glibc? Trying to link the compat/linux/lib/libc -> glibc is worth a try (just don't link to the FreebSD libc), but I don't think it's right. Generally, all libraries have to start with "lib" or the linker doesn't know how to find them. --Alex