Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2004 13:53:17 +0200
From:      Lars Tunkrans <lars.tunkrans@bredband.net>
To:        freebsd-amd64@freebsd.org
Subject:   Attempt to get linux emulation going on AMD64 5.3-RC1
Message-ID:  <417A462D.5060109@bredband.net>
In-Reply-To: <20041022093439.GA15304@cat.robbins.dropbear.id.au>
References:  <20041022031145.23130.qmail@web61110.mail.yahoo.com> <20041022093439.GA15304@cat.robbins.dropbear.id.au>

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






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