From nobody@FreeBSD.org  Sun Jun 12 22:10:12 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2969D16A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Jun 2005 22:10:12 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0918E43D49
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Jun 2005 22:10:12 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j5CMABUW044551
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Jun 2005 22:10:11 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j5CMABJd044550;
	Sun, 12 Jun 2005 22:10:11 GMT
	(envelope-from nobody)
Message-Id: <200506122210.j5CMABJd044550@www.freebsd.org>
Date: Sun, 12 Jun 2005 22:10:11 GMT
From: morgothdbma <morgothdbma@o2.pl>
To: freebsd-gnats-submit@FreeBSD.org
Subject: missing 32bit subsystem
X-Send-Pr-Version: www-2.3

>Number:         82178
>Category:       amd64
>Synopsis:       missing 32bit subsystem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 12 22:10:23 GMT 2005
>Closed-Date:    Fri Nov 25 16:42:08 GMT 2005
>Last-Modified:  Fri Nov 25 16:42:08 GMT 2005
>Originator:     morgothdbma
>Release:        5.4
>Organization:
>Environment:
FreeBSD 5.4 amd64 (STARLIGHT)
>Description:
      each time I want to run FreeBSD i386 binary I have answer that I haven't ld-elf32.so, I copied that library where system wanted me to, but now it wants libc.so.5, I cannot replace my 64bit libc.so with 32bit libc.so, mayby I shoul copy all 32bit files somewhere like /usr/32bit_world or something else. I don't know, can U tell me how to setup a 32bit subsytem inside 64bit system, I want at least run simple C programs. BTW: is there 32bit/64bit linux emulation in FreeBSD 5.4 amd64
>How-To-Repeat:
      just try to run 32bit FreeBSD i386 hello world application on FreeBSD amd64 (dynamically linked)
>Fix:
      some special hierarchy for 32bit apps and libs ... chroot ??
>Release-Note:
>Audit-Trail:

From: Steve Kargl <sgk@troutmask.apl.washington.edu>
To: morgothdbma <morgothdbma@o2.pl>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: amd64/82178: missing 32bit subsystem
Date: Sun, 12 Jun 2005 16:12:03 -0700

 On Sun, Jun 12, 2005 at 10:10:11PM +0000, morgothdbma wrote:
 > 
 > >Synopsis:       missing 32bit subsystem
 >       each time I want to run FreeBSD i386 binary I have answer
 > that I haven't ld-elf32.so, I copied that library where system
 > wanted me to, but now it wants libc.so.5, I cannot replace my 64bit
 > libc.so with 32bit libc.so, mayby I shoul copy all 32bit files
 > somewhere like /usr/32bit_world or something else.
 
 > I don't know, can U tell me how to setup a 32bit subsytem inside
 > 64bit system, I want at least run simple C programs. BTW: is there
 > 32bit/64bit linux emulation in FreeBSD 5.4 amd64
 
 Please read the freebsd-amd64 mailing list archive.  There
 is ample information there to help answer your problem.
 
 In short, install the source tree.  Add WITH_LIB32=yes
 to /etc/make.conf.  Add
 
 options         COMPAT_IA32             #Compatible with i386 binaries
 options         LINPROCFS
 options         COMPAT_43
 options         COMPAT_LINUX32
 
 to your kernel configuration file.  Follow the instructions
 in /usr/src/UPDATING on procedure for updating your system.
 
 After the system has rebooted, install the linux ports you
 want.  You'll definitely want
 
 linux-XFree86-libs-4.3.99.902_2 XFree86 libraries, Linux binary
 linux_base-8-8.0_6  Base set of packages needed in Linux mode (only for i386)
 
 -- 
 Steve
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Fri Nov 25 16:41:44 GMT 2005 
State-Changed-Why:  
This was answered by steve, and the topic belongs to freebsd-questions 

http://www.freebsd.org/cgi/query-pr.cgi?pr=82178 
>Unformatted:
