Date: Tue, 23 Dec 1997 13:51:56 -0800 (PST) From: Charlie Roots <osiris2002@yahoo.com> To: freebsd-questions@freebsd.org Subject: Re: Help with Xwin Message-ID: <19971223215156.7341.rocketmail@send1b.yahoomail.com>
next in thread | raw e-mail | index | archive | help
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 <casaunde@vt.edu> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971223215156.7341.rocketmail>
