Attempt to get linux emulation going on AMD64 5.3-RC1

Lars Tunkrans lars.tunkrans at bredband.net
Sat Oct 23 04:55:51 PDT 2004


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






More information about the freebsd-amd64 mailing list