From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 17:44:28 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 736701065672 for ; Wed, 1 Jul 2009 17:44:28 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 073398FC17 for ; Wed, 1 Jul 2009 17:44:27 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id n61HiQlG008929; Wed, 1 Jul 2009 19:44:26 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 47A9EBA9B; Wed, 1 Jul 2009 19:44:26 +0200 (CEST) Date: Wed, 1 Jul 2009 19:44:26 +0200 From: Roland Smith To: Karsten Thygesen Message-ID: <20090701174426.GB37269@slackbox.xs4all.nl> References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> <20090629182642.GA3248@slackbox.xs4all.nl> <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XOIedfhf+7KOe/yw" Content-Disposition: inline In-Reply-To: <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner 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: Wed, 01 Jul 2009 17:44:28 -0000 --XOIedfhf+7KOe/yw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2009 at 08:47:00AM +0200, Karsten Thygesen wrote: > Hi >=20 > Thanks a lot to all of you, who responded on my query. The solution =20 > was to install lib32 (I still wonder why I did de-select them during =20 > installation) as many of you pointed out. >=20 > When I did this, the Netvault binaries could almost run, but they had =20 > problems finding their dynamic libraries, and after quite a lot of =20 > googling, I figured out, that I had to set LD_32_LIBRARY_PATH instead =20 > of LD_LIBRARY_PATH - that little, but crusial, difference took quite =20 > some hours to figure out. But after we got this knowledge, everything =20 > seems to work and we do now have Netvault on FreeBSD-7.2-amd64 (but it = =20 > is an unsupported platform from Bakbone - come on, Bakbone, get up to =20 > speed!). >=20 > A small wish is, that it would be wonderful if the FreeBSD handbook =20 > could be extended with a small chapter on how to run 32 bit binaries =20 > on 64 bit platforms - especially hints like LD_32_LIBRARY_PATH would =20 > be nice to know about... :-) The thing is, I don't think you should have to set LD_32_LIBRARY_PATH. Did you reboot after installing the 32 bits libraries? Because if you do, /etc/rc.d/ldconfig should run ldconfig for the 32-bits libraries in /usr/lib32. See ldconfig32_paths in /etc/defaults/rc.conf and /etc/rc.d/ldconfig. Alternatively you can run '/etc/rc.d/ldconfig start' as root after installing the libraries. If that doesn't work, it would be a bug. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --XOIedfhf+7KOe/yw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpLoHoACgkQEnfvsMMhpyVF8ACfZfZ42LjB9reyWEw12Op6IDvW JtMAoIhGCxbjsf+WiJPMNNdp35yfVTz/ =2QI9 -----END PGP SIGNATURE----- --XOIedfhf+7KOe/yw--