From owner-freebsd-stable Thu Jun 3 14:41:23 1999 Delivered-To: freebsd-stable@freebsd.org Received: from gaia.euronet.nl (gaia.euronet.nl [194.134.0.10]) by hub.freebsd.org (Postfix) with ESMTP id E1C92159F2 for ; Thu, 3 Jun 1999 14:41:19 -0700 (PDT) (envelope-from freebsd-stable@scc.nl) Received: from scones.sup.scc.nl (p612.asi.euronet.nl [194.134.124.140]) by gaia.euronet.nl (8.8.8/8.8.8) with ESMTP id XAA14840 from for ; Thu, 3 Jun 1999 23:41:18 +0200 (MET DST) Received: (from daemon@localhost) by scones.sup.scc.nl (8.9.3/8.9.1) id XAA45028 for stable@FreeBSD.ORG; Thu, 3 Jun 1999 23:41:01 +0200 (CEST) (envelope-from freebsd-stable@scc.nl) Received: from GATEWAY by scones.sup.scc.nl with netnews for stable@FreeBSD.ORG (stable@FreeBSD.ORG) To: stable@FreeBSD.ORG Date: Thu, 03 Jun 1999 23:40:56 +0200 From: Marcel Moolenaar Message-ID: <3756F668.F2AA6A35@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <3756DD41.4B2A3FD6@fda.net> Subject: Re: A little Linux compatability exercise Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG s wrote: [lots snipped] > ld-elf.so.1 failed: shared object "libXm.so.1" not found. > ld.so failed: can't find shared library "libXpm.so.4.11" > ld.so failed: can't find shared library "libXpm.so.4" [even more snipped] The fact that ld{-elf}.so{.1} can't find the libraries is because it isn't looking in the directory in which the libraries are stored. Set LD_LIBRARY_PATH appropriately. NOTE: LD_LIBRARY_PATH applies to both Linux and FreeBSD binaries, so use it with care. The safest way to use it, is to make a Xinvest script which sets it just before starting the actual binary (like Netscape). -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message