Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2008 19:16:36 +0100
From:      Fabian Wenk <fabian@wenks.ch>
To:        freebsd-amd64@freebsd.org
Subject:   Re: ** FreeBSD 6.2 - amd64 - attempting to install 32bit library support **
Message-ID:  <47DD6404.2060907@wenks.ch>
In-Reply-To: <265512.62486.qm@web34610.mail.mud.yahoo.com>
References:  <265512.62486.qm@web34610.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello David

On 27.02.08 02:01, David wrote:
> After doing some reasarch, I found the following
> possibility although I could find no specific
> documentation what-so-ever.  
> 
> 1. cd /usr/src
> 2. make build32
> 3. make install32
> 4. ldconfig -32 /usr/lib32

In my /etc/make.conf I have the following line:

WITH_LIB32=yes

And after building and installing the world the 32-bit Libraries 
are in /usr/lib32/.

> My concern is whether this procedure overwrites any
> current libraries on the FreeBSD 6.2 64 bit system or
> attempts to change anything drastically (such as
> convert the system back to a 32 bit OS).   Also, does
> this install modify the kernel?   

This should not happen, see also /usr/src/tools/lib32/README for a 
little more informations:

---8<--------------------------------------------------------------
# $FreeBSD: src/tools/lib32/README,v 1.2 2004/11/25 04:25:21 peter 
Exp $

Set WITH_LIB32=yes in /etc/make.conf and do a buildworld / 
installworld.

Alternatively, if you have just done a buildworld/installworld, 
you might be able to 'make build32' and 'make install32' in the 
top of the /usr/src tree.
---8<--------------------------------------------------------------

So I guess the steps which you have mention above will just work 
and not do any damage.


bye
Fabian



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