From owner-freebsd-amd64@FreeBSD.ORG Mon Jun 29 12:17:17 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 694BB1065677 for ; Mon, 29 Jun 2009 12:17:17 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id BCBD18FC20 for ; Mon, 29 Jun 2009 12:17:16 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n5TBZeeU026801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Jun 2009 14:35:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n5TBZe7u002198; Mon, 29 Jun 2009 14:35:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n5TBZe3M002197; Mon, 29 Jun 2009 14:35:40 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 29 Jun 2009 14:35:40 +0300 From: Kostik Belousov To: Karsten Thygesen Message-ID: <20090629113540.GX2884@deviant.kiev.zoral.com.ua> References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hjRTvux2945W8dyK" Content-Disposition: inline In-Reply-To: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.1 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-amd64@freebsd.org Subject: Re: Netvault on FreeBSD-7.2 AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 12:17:17 -0000 --hjRTvux2945W8dyK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 29, 2009 at 12:19:44PM +0200, Karsten Thygesen wrote: > Hi >=20 > We use FreeBSD-7.2 (p2, amd64) but it turns out, that there is =20 > problems running Netvault. >=20 > Netvault only support FreeBSD in 32bit (and I can verify, that it =20 > works just fine here), so we are on out own with 64bit support. >=20 > I'm quite new to 64bit edition of FreeBSD, so there might be something = =20 > simple, that I do not know about, but when I try to run one of the =20 > netvault binaries, I get this error: >=20 > [karthy@karthywork ~]$ ./txtconfig > ELF interpreter /libexec/ld-elf.so.1 not found > Abort trap: 6 >=20 > [karthy@karthywork ~]$ ls -l /libexec/ld-elf.so.1 > -r-xr-xr-x 1 root wheel 198456 Jun 29 11:32 /libexec/ld-elf.so.1 >=20 > [karthy@karthywork ~]$ file txtconfig > txtconfig: ELF 32-bit LSB executable, Intel 80386, version 1 =20 > (FreeBSD), dynamically linked (uses shared libs), stripped >=20 > [karthy@karthywork ~]$ uname -a > FreeBSD karthywork.netic.dk 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: =20 > Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/=20 > usr/obj/usr/src/sys/GENERIC amd64 >=20 > [karthy@karthywork ~]$ file /libexec/ld-elf.so.1 > /libexec/ld-elf.so.1: ELF 64-bit LSB shared object, x86-64, version 1 =20 > (FreeBSD), stripped >=20 > Anything I need to do to enable 32bit emulation support? You need 32bit interpeter (/libexec/ld-elf32.so.1) and all shared libraries that are required by your binary in 32bit. --hjRTvux2945W8dyK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpIpwwACgkQC3+MBN1Mb4hlGACcDmrW64M+kglN0WF84KP3byMv a70AoNY34v6sdrPhZ1D5e6BBqa38U1Cx =KClJ -----END PGP SIGNATURE----- --hjRTvux2945W8dyK--