From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 1 19:16:30 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 38D5F1065670 for ; Wed, 1 Jul 2009 19:16:30 +0000 (UTC) (envelope-from prvs=426ed4353=karthy@netic.dk) Received: from mxout02.netic.dk (mxout02.netic.dk [77.243.50.218]) by mx1.freebsd.org (Postfix) with ESMTP id A28EF8FC1F for ; Wed, 1 Jul 2009 19:16:29 +0000 (UTC) (envelope-from prvs=426ed4353=karthy@netic.dk) DomainKey-Signature: s=dk; d=netic.dk; c=simple; q=dns; h=X-IronPort-Anti-Spam-Filtered: X-IronPort-Anti-Spam-Result:X-IronPort-AV:Received:Cc: Message-Id:From:To:In-Reply-To:Content-Type: Content-Transfer-Encoding:Mime-Version:Subject:Date: References:X-Mailer; b=Ru0svOeAh0AUH/GcPeDQ7ViN828WGyV/Qw2m6yw119+poOQBGgUd8bwF RkokDb11kCcaoHvdPiMZSDMzxmkfUQ==; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=netic.dk; i=karthy@netic.dk; q=dns/txt; s=dkim; t=1246475790; x=1278011790; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Karsten=20Thygesen=20|Subject: =20Re:=20Netvault=20on=20FreeBSD-7.2=20AMD64|Date:=20Wed, =201=20Jul=202009=2021:16:26=20+0200|Message-Id:=20|To:=20Roland=20 Smith=20|Cc:=20freebsd-amd64@freebsd.or g|Mime-Version:=201.0=20(Apple=20Message=20framework=20v9 35.3)|Content-Transfer-Encoding:=207bit|In-Reply-To:=20<2 0090701174426.GB37269@slackbox.xs4all.nl>|References:=20< 237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk>=20<2009062 9182642.GA3248@slackbox.xs4all.nl>=20<3945011B-1308-44E8- AB3D-F6BC224475C0@netic.dk>=20<20090701174426.GB37269@sla ckbox.xs4all.nl>; bh=G18XozlcbNfIEz7rFXLmAn3kWR0rkdy+5lqrUG5/tHI=; b=Rq93pfvH/2k/TLS03pB0Llm5K6EsbUHBeVhFksotOqaWhgtGLrXADr7E VszKwxdS4wAZTw8BG3TvpSsySVQl0A==; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoBAM9SS0pN1a1h/2dsb2JhbAAI0TKEEQWBOA X-IronPort-AV: E=Sophos;i="4.42,327,1243807200"; d="scan'208";a="3091802" Received: from 0x4dd5ad61.adsl.cybercity.dk (HELO [192.168.1.115]) ([77.213.173.97]) by mxout02.netic.dk with ESMTP/TLS/AES128-SHA; 01 Jul 2009 21:16:27 +0200 Message-Id: From: Karsten Thygesen To: Roland Smith In-Reply-To: <20090701174426.GB37269@slackbox.xs4all.nl> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 1 Jul 2009 21:16:26 +0200 References: <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> <20090629182642.GA3248@slackbox.xs4all.nl> <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk> <20090701174426.GB37269@slackbox.xs4all.nl> X-Mailer: Apple Mail (2.935.3) 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 19:16:30 -0000 Hi Ronald Oh, I guess I wrote it a bit confusing - the binaries could find the lib32 libraries just fine, but they also need some netvault specific libraries, which is stored in a vendor specific directory - I had to set LD_32_LIBRARY_PATH to point to that library - there was no problems with the compatibility libraries. Karsten On Jul 1, 2009, at 19:44 , Roland Smith wrote: > On Wed, Jul 01, 2009 at 08:47:00AM +0200, Karsten Thygesen wrote: >> Hi >> >> Thanks a lot to all of you, who responded on my query. The solution >> was to install lib32 (I still wonder why I did de-select them during >> installation) as many of you pointed out. >> >> When I did this, the Netvault binaries could almost run, but they had >> problems finding their dynamic libraries, and after quite a lot of >> googling, I figured out, that I had to set LD_32_LIBRARY_PATH instead >> of LD_LIBRARY_PATH - that little, but crusial, difference took quite >> some hours to figure out. But after we got this knowledge, everything >> seems to work and we do now have Netvault on FreeBSD-7.2-amd64 (but >> it >> is an unsupported platform from Bakbone - come on, Bakbone, get up to >> speed!). >> >> A small wish is, that it would be wonderful if the FreeBSD handbook >> could be extended with a small chapter on how to run 32 bit binaries >> on 64 bit platforms - especially hints like LD_32_LIBRARY_PATH would >> 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 > -- > 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)