Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2009 19:44:26 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Karsten Thygesen <karthy@netic.dk>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: Netvault on FreeBSD-7.2 AMD64
Message-ID:  <20090701174426.GB37269@slackbox.xs4all.nl>
In-Reply-To: <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk>
References:  <237A4FC3-3CBD-453B-A606-9F07E3F56FBD@netic.dk> <20090629182642.GA3248@slackbox.xs4all.nl> <3945011B-1308-44E8-AB3D-F6BC224475C0@netic.dk>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkpLoHoACgkQEnfvsMMhpyVF8ACfZfZ42LjB9reyWEw12Op6IDvW
JtMAoIhGCxbjsf+WiJPMNNdp35yfVTz/
=2QI9
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090701174426.GB37269>