From owner-freebsd-emulation@FreeBSD.ORG Mon Sep 27 00:35:02 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 836301065670 for ; Mon, 27 Sep 2010 00:35:02 +0000 (UTC) (envelope-from tomdean@mail.speakeasy.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.48]) by mx1.freebsd.org (Postfix) with ESMTP id 5ED198FC0A for ; Mon, 27 Sep 2010 00:35:02 +0000 (UTC) Received: (qmail 21169 invoked from network); 27 Sep 2010 00:08:21 -0000 Received: from 24-113-192-17.wavecable.com (HELO asus.tddhome) (tomdean@[24.113.192.17]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 27 Sep 2010 00:08:21 -0000 Received: from asus.tddhome (localhost [127.0.0.1]) by asus.tddhome (8.14.4/8.14.4) with ESMTP id o8R08KVJ010492 for ; Sun, 26 Sep 2010 17:08:20 -0700 (PDT) (envelope-from tomdean@asus.tddhome) Received: (from tomdean@localhost) by asus.tddhome (8.14.4/8.14.4/Submit) id o8R08K20010489; Sun, 26 Sep 2010 17:08:20 -0700 (PDT) (envelope-from tomdean) Date: Sun, 26 Sep 2010 17:08:20 -0700 (PDT) Message-Id: <201009270008.o8R08K20010489@asus.tddhome> From: Thomas Dean To: freebsd-emulation@FreeBSD.org Cc: Subject: Using Ubuntu File Systems X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 00:35:02 -0000 I am running FreeBSD 8.1 # uname -a FreeBSD asus.tddhome 8.1-STABLE FreeBSD 8.1-STABLE #1: \ Fri Sep 17 19:09:23 PDT 2010 \ tomdean@asus.tddhome:/usr/src/sys/GENERIC i386 I installed linux_base-f10. # kldstat Id Refs Address Size Name 1 15 0xc0400000 bc324c kernel 2 1 0xc71ea000 26000 linux.ko 3 1 0xc7599000 68000 radeon.ko 4 1 0xc7602000 14000 drm.ko 5 1 0xc7ce3000 10000 ext2fs.ko I have a full Ubuntu 10.04 installation on a dedicated disk, ad6. I want to use eagle on FreeBSD. The FreeBSD port has problems. This is the only linux application I need that I cannot seem to get to work under emulation. If I use compat/linux/sbin/ldconfig to point to the FreeBSD libraries and test the eagle port, # /usr/local/bin/eagle5 /usr/local/share/eagle5/bin/eagle: error while loading shared libraries: /usr/local/lib/libXrender.so.1: ELF file OS ABI invalid # /compat/linux/sbin/ldconfig --print-cache | grep Xrender libXrender.so.1 (ELF) => /usr/local/lib/libXrender.so.1 libXrender.so (ELF) => /usr/local/lib/libXrender.so If I mount Ubuntu file systems on /compat/linux/Ubuntu # chroot /compat/linux sh # /Ubuntu/usr/local/eagle-5.10.0/bin/eagle /Ubuntu/usr/local/eagle-5.10.0/bin/eagle: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory # # cat /etc/ld.so.conf /lib /usr/lib /usr/local/lib /Ubuntu/lib /Ubuntu/usr/lib /Ubuntu/usr/local/lib # rm /etc/ld.so.cache # sbin/ldconfig # /Ubuntu/usr/local/eagle-5.10.0/bin/eagle Segmentation fault How may I get around this? tomdean