From owner-freebsd-questions@FreeBSD.ORG Thu Jan 12 23:33:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B203C16A41F for ; Thu, 12 Jan 2006 23:33:09 +0000 (GMT) (envelope-from parv@pair.com) Received: from mta9.adelphia.net (mta9.adelphia.net [68.168.78.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEE1B43D64 for ; Thu, 12 Jan 2006 23:32:55 +0000 (GMT) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([68.67.248.200]) by mta9.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20060112233254.TUEL14388.mta9.adelphia.net@default.chvlva.adelphia.net> for ; Thu, 12 Jan 2006 18:32:54 -0500 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id 82ECEB650; Thu, 12 Jan 2006 18:32:39 -0500 (EST) Date: Thu, 12 Jan 2006 18:32:39 -0500 From: Parv To: f-q Message-ID: <20060112233239.GA97879@holestein.holy.cow> Mail-Followup-To: f-q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Need of '/compat/linux' X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 23:33:09 -0000 I am running 6-STABLE from Dec 27 2005; mortal user shell is zsh 4.2.6; root shell is bash [23]; have reinstalled all the ports that i currently want/need. Short story is that without pointing '/compat/linux' to '/usr/linux-base', i could not run acroread7, instead got the following message ... ELF interpreter /lib/ld-linux.so.2 not found Long version ... I started from almost clean slate by installing gimp2 (which installed obscene amount of dependencies, including gtk2, pango, atk). Then after installing some more ports, i set LINUXBASE to '/usr/linux-base' in '/etc/make.conf' (there was no link from '/compat/linux' to that directory); later installed 'emulators/linux_base-8' port, followed by 'print/acroread7'. After getting the following message while trying to run 'acroread7', i got ... ELF interpreter /lib/ld-linux.so.2 not found Mounting 'linprocfs' or running (FreeBSD) 'ldconfig -m /usr/linux-base' did not help. I searched for Linux version of 'ldconfig' in '/usr/linux-base/bin' (forgot to look in '/usr/linux-base/sbin' at the time). Besides, '/usr/linux-base/sbin/ldconfig' does not seem to have an option (like FreeBSD 'ldconfig -r') to see the search directories or libraries found. I checked 'LINUXBASE' in '/etc/make.conf' and in a port directory by 'make -V LINUXBASE', both indicated the same value. Only after creating a symlink to '/usr/linux-base' from '/compat/linux' i could run acroread7, which resulted in a more promising error message (which is another story). So, my question is how do i remove the symlink from '/compat/linux' & still have acroread7 (or any other linux software) run? Why is setting 'LINUXBASE' is not enough for acroread7 to find the needed libraries? - Parv --