From owner-freebsd-questions Tue Jan 18 11:19:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 710ED150F0 for ; Tue, 18 Jan 2000 11:18:02 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id LAA18227; Tue, 18 Jan 2000 11:41:11 -0800 (PST) Date: Tue, 18 Jan 2000 11:41:11 -0800 From: Alfred Perlstein To: Charles Plater Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Shared Library Problems Message-ID: <20000118114111.E8736@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from cplater@mac.com on Tue, Jan 18, 2000 at 09:06:22AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Charles Plater [000118 06:30] wrote: > I'm having some problems with shared libraries, and I can't seem to figure > it out. > > ----- first example ----- > rattlehead.accs.wayne.edu{cplater}95: netscape > ld.so failed: Can't find shared library "libXt.so.6.0" > rattlehead.accs.wayne.edu{cplater}96: locate libXt.so.6.0 > /usr/X11R6/lib/aout/libXt.so.6.0 > /usr/compat/linux/usr/X11R6/lib/libXt.so.6.0 > /usr/compat/linux/usr/i486-linux-libc5/lib/libXt.so.6.0 > ----- end first example ----- > ----- second example ----- > rattlehead.accs.wayne.edu{cplater}97: emacs > /usr/libexec/ld-elf.so.1: Shared object "libXaw.so.6" not found > rattlehead.accs.wayne.edu{cplater}98: locate libXaw.so.6 > /usr/X11R6/lib/aout/libXaw.so.6.1 > /usr/X11R6/lib/libXaw.so.6 > /usr/compat/linux/usr/X11R6/lib/libXaw.so.6 > /usr/compat/linux/usr/X11R6/lib/libXaw.so.6.1 > /usr/compat/linux/usr/i486-linux-libc5/lib/libXaw.so.6 > /usr/compat/linux/usr/i486-linux-libc5/lib/libXaw.so.6.1 > ----- end second example ----- For some reason I think your system is not ldconfig'ing the X dirs, try adding this to /etc/rc.conf ldconfig_paths="$ldconfig_paths /usr/X11R6/lib" ldconfig_paths_aout="$ldconfig_paths_aout /usr/X11R6/lib/aout" -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message