From owner-freebsd-questions@FreeBSD.ORG Sat Oct 11 19:36:15 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 2D3331065687; Sat, 11 Oct 2008 19:36:15 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id D95FA8FC0C; Sat, 11 Oct 2008 19:36:14 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1KokG4-0008qk-MD; Sat, 11 Oct 2008 23:36:12 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KokHl-0000L3-IH; Sat, 11 Oct 2008 23:37:57 +0400 To: Drew Tomlinson References: <48EFAA0B.1030908@mykitchentable.net> From: Boris Samorodov Date: Sat, 11 Oct 2008 23:37:57 +0400 In-Reply-To: <48EFAA0B.1030908@mykitchentable.net> (Drew Tomlinson's message of "Fri\, 10 Oct 2008 12\:16\:27 -0700") Message-ID: <06069130@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: mnag@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: libncurses.so.6 Not Found - How to Get 32 bit Version? 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: Sat, 11 Oct 2008 19:36:15 -0000 Drew Tomlinson writes: > First, I must say I love the ports system!!! It keeps me from > suffering as I am now. :) > > Anyway, I'm attempting to install a web log analysis software from > Google named "Urchin". The installation docs say it's supported on > FBSD 6.2+. As I am dedicating a machine to this software, I've > performed a brand new install of 7.1-PRERELEASE. I'm using the amd64 > version on a Intel Core 2 Duo processor. > > With help from the list, I overcame the first library issue by > installing the compat6x libraries from ports. Now the install script > is complaining that "/libexec/ld-elf.so.1: Shared object > "libncurses.so.6" not found". I used ldd on the executable the script > is attempting to run and get this output: > > libncurses.so.6 => not found (0x0) > libcrypt.so.3 => /usr/local/lib32/compat/libcrypt.so.3 (0x280be000) > libz.so.3 => /usr/local/lib32/compat/libz.so.3 (0x280d7000) > libstdc++.so.5 => /usr/local/lib32/compat/libstdc++.so.5 > (0x280e8000) > libm.so.4 => /usr/local/lib32/compat/libm.so.4 (0x281be000) > libc.so.6 => /usr/local/lib32/compat/libc.so.6 (0x281d4000) > > I did search my system and found > /usr/local/lib/compat/libncurses.so.6. I tried adding a symlink to > /usr/local/lib32/compat but then received an "...unsupported > layout..." error when attempting to run the executable: I assume that > is because the libncurses.so.6 library is a 64 bit version? I've > removed the symlink. You can explore it by the command % file /usr/local/lib/compat/libncurses.so.6 > Assuming my assumptions are correct, how can I get a 32 bit > libncurses.so.6 version on my system? Or if I'm wrong, what do I > need? You can copy this file from 6-i386 as Kris has already said. And it may be a good idea to file a PR about it since this is definitely the port's bug (CCing to the port's maintainer). WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve