From owner-freebsd-amd64@FreeBSD.ORG Sat Oct 23 11:55:51 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 957DF16A4CE for ; Sat, 23 Oct 2004 11:55:51 +0000 (GMT) Received: from mxfep02.bredband.com (mxfep02.bredband.com [195.54.107.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id C393D43D45 for ; Sat, 23 Oct 2004 11:55:43 +0000 (GMT) (envelope-from lars.tunkrans@bredband.net) Received: from [192.168.245.231] ([213.112.167.92] [213.112.167.92]) by mxfep02.bredband.com with ESMTP id <20041023115542.MNUH44.mxfep02.bredband.com@[192.168.245.231]> for ; Sat, 23 Oct 2004 13:55:42 +0200 Message-ID: <417A462D.5060109@bredband.net> Date: Sat, 23 Oct 2004 13:53:17 +0200 From: Lars Tunkrans Organization: None User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7) Gecko/20040618 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-amd64@freebsd.org References: <20041022031145.23130.qmail@web61110.mail.yahoo.com> <20041022093439.GA15304@cat.robbins.dropbear.id.au> In-Reply-To: <20041022093439.GA15304@cat.robbins.dropbear.id.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Attempt to get linux emulation going on AMD64 5.3-RC1 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2004 11:55:51 -0000 Hello, I attemted to get linux emulation going in AMD64 5.3-RC1 I put the varaiables in the Kernel config file, rebuild and reloaded. options LINPROCFS options COMPAT_43 options COMPAT_LINUX32 I edited /etc/fstab for linprocfs and set linux_enabled="YES" in rc.conf I used Francois Tigeot's patch for emulators/linux_base And Installed linux_base without problems. -------------- next part -------------- --- Makefile.orig Wed Oct 6 15:13:33 2004 +++ Makefile Wed Oct 6 16:05:51 2004 @@ -110,6 +110,9 @@ RPM= LC_ALL=C rpm RPMFLAGS= --root ${LINUXBASE} --dbpath ${DBPATH} --nodeps \ --replacepkgs --ignoreos --ignorearch +.if (${ARCH} == "amd64") +RPMFLAGS+= --noscripts +.endif RPMDIR= ${DISTDIR}/${DIST_SUBDIR} REMOVE_DIRS= boot dev home root tmp var/tmp usr/local usr/tmp @@ -118,7 +121,7 @@ etc/protocols BRAND_FILES= bin/rpm sbin/ldconfig sbin/sln -FALLBACK_ELF_MIB= kern.fallback_elf_brand +FALLBACK_ELF_MIB= kern.elf32.fallback_brand LINUX_ELF= 3 PREVIOUS_ELF!= /sbin/sysctl -n ${FALLBACK_ELF_MIB} ---------------------------------------------------- After a second Reboot all seems well and boot_messages reports "additional ABI support: Linux " Then I used Tim Robbins instructions for installing linux acrobat. http://people.freebsd.org/~tjr/linux32.html When trying to start acrobat it says: acroread: error while loading shared libraries: libXt.so.6 cannot open shared objectfile : No such file or directory. That is not true since /usr/compat/linux/usr/X11R6/lib/libXt.so.6 does exist. Therefore I assume something is not right with the library searchpath. Where or How do I edit the library searchpath for the linux emulator ? Regards //Lars