From owner-freebsd-questions Tue Dec 23 13:59:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA13306 for questions-outgoing; Tue, 23 Dec 1997 13:59:00 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from send1b.yahoomail.com (send1b.yahoomail.com [205.180.60.23]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id NAA13295 for ; Tue, 23 Dec 1997 13:58:56 -0800 (PST) (envelope-from osiris2002@yahoo.com) Message-ID: <19971223215156.7341.rocketmail@send1b.yahoomail.com> Received: from [194.79.98.68] by send1b; Tue, 23 Dec 1997 13:51:56 PST Date: Tue, 23 Dec 1997 13:51:56 -0800 (PST) From: Charlie Roots Subject: Re: Help with Xwin To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi there, The system MUST know where to look for the libraries, the system knows this info from the LD_LIBRARYPATH to set it up, pu the following line in your; Which file What .cshrc setenv LD_LIBRARYPATH /usr/lib:/usr/X11R6/lib .profile LD_LIBRARYPATH=/usr/lib:/usr/X11R6/lib You may also put this in /etc/rc (these lines are there by default) most probably you SHOT them too. # Make shared lib searching a little faster. Leave /usr/lib first if you # add your own entries or you may come to grief. _LDC=/usr/lib if [ -d /usr/lib/compat ]; then _LDC="${_LDC} /usr/lib/compat" ; fi if [ -d /usr/X11R6/lib ]; then _LDC="${_LDC} /usr/X11R6/lib" ; fi if [ -d /usr/local/lib ]; then _LDC="${_LDC} /usr/local/lib" ; fi echo 'setting ldconfig path:' ${_LDC} ldconfig ${_LDC} for the record, you may also issue the following command; man ldconfig and learn how to manually do things with libraries on the system. If the problem persists, givbe more description, which Library, etc, and you'll get more HELP. Greetings ---Carson Saunders wrote: > > I recently installed Free BSD 2.2.1 onto my computer but I cant seem to get > X windows to run. Whenever I try startx I get an error message about some > shared library that couldnt be found. Then I went into the lib directory > and it was sitting right there. Why is this happening? What should I do? > Im very new to this so you may have to break it down into dummy terms for > me. Any help is appreciated. Thanks in advance. > > Carson Saunders > casaunde@vt.edu > > == MAY THE FORCE BE WITH YOU. _________________________________________________________ DO YOU YAHOO!? Get your free @yahoo.com address at http://mail.yahoo.com