Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2009 21:16:26 +0200
From:      Karsten Thygesen <karthy@netic.dk>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Netvault on FreeBSD-7.2 AMD64
Message-ID:  <E9247509-0557-4111-A518-860A051B3BD8@netic.dk>
In-Reply-To: <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> <20090701174426.GB37269@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E9247509-0557-4111-A518-860A051B3BD8>