Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 11:41:11 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Charles Plater <cplater@mac.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Shared Library Problems
Message-ID:  <20000118114111.E8736@fw.wintelcom.net>
In-Reply-To: <B4A9DD8E.34E5%cplater@mac.com>; from cplater@mac.com on Tue, Jan 18, 2000 at 09:06:22AM -0500
References:  <B4A9DD8E.34E5%cplater@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Charles Plater <cplater@mac.com> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000118114111.E8736>