From owner-freebsd-stable Thu Jun 3 14:45:21 1999 Delivered-To: freebsd-stable@freebsd.org Received: from luna.lyris.net (luna.shelby.com [207.90.155.6]) by hub.freebsd.org (Postfix) with ESMTP id DF757158C6 for ; Thu, 3 Jun 1999 14:45:19 -0700 (PDT) (envelope-from kip@lyris.com) Received: from luna.shelby.com by luna.lyris.net (8.9.1b+Sun/SMI-SVR4) id OAA19685; Thu, 3 Jun 1999 14:38:41 -0700 (PDT) Received: from (luna.shelby.com [207.90.155.6]) by luna.shelby.com with SMTP (MailShield v1.50); Thu, 03 Jun 1999 14:38:41 -0700 Date: Thu, 3 Jun 1999 14:38:41 -0700 (PDT) From: X-Sender: kip@luna To: Marcel Moolenaar Cc: stable@FreeBSD.ORG Subject: Re: A little Linux compatability exercise In-Reply-To: <3756F668.F2AA6A35@scc.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SMTP-HELO: luna X-SMTP-MAIL-FROM: kip@lyris.com X-SMTP-RCPT-TO: marcel@scc.nl,stable@FreeBSD.ORG X-SMTP-PEER-INFO: luna.shelby.com [207.90.155.6] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 3 Jun 1999, Marcel Moolenaar wrote: > 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). > And then undefines it. It also applies to both a.out and elf, so for the life of the shell you would have trouble running binaries of the other type. > -- > 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 > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message