Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 1999 22:32:41 -0800 (PST)
From:      John Polstra <jdp@polstra.com>
To:        aheffner@lakefield.net
Cc:        stable@freebsd.org
Subject:   Re: Can't find lib. under 3.1-S
Message-ID:  <199902180632.WAA69299@vashon.polstra.com>
In-Reply-To: <01BE59E1.211524A0.aheffner@lakefield.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <01BE59E1.211524A0.aheffner@lakefield.net>,
Mike Heffner  <aheffner@lakefield.net> wrote:
> Hi. I just updated to 3.1-stable (from 2.2.8-stable) and everything went 
> allright, except that when I try to start X i gives me an error that it 
> can't find a specified library file. the file is in /usr/X11R6/lib, and 
> when i bootup it looks as if ldconfig is being run with that dir. Is there 
> something else I need to run to make the lib. files show up?

Make sure your /etc files are up-to-date.  Ldconfig is run twice
now, once for ELF and once for a.out.  You have to specify paths for
both in rc.conf.  Are your shared libraries in /usr/X11R6/lib ELF or
a.out?  (Use "file" to find out.)  If they're a.out, then you should
have moved them to "/usr/X11R6/lib/aout" during the upgrade.  In any
case, make sure "ldconfig_paths" in rc.conf gives the directories
containing ELF libraries, and "ldconfig_paths_aout" gives the
directories containing a.out libraries.

John
-- 
  John Polstra                                               jdp@polstra.com
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Nobody ever went broke underestimating the taste of the American public."
                                                            -- H. L. Mencken


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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