Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 18:27:24 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Larry Coleman <larry@studio1620.com>
Cc:        questions@freebsd.org
Subject:   Re: ldconfig fubared
Message-ID:  <15146.39388.594210.473582@guru.mired.org>
In-Reply-To: <112023384@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Larry Coleman <larry@studio1620.com> types:
> I messed up my ldconfig while installing postgresql, and now I can't get
> into vim unless I'm logged in as root. Here's the error message:
> 
> /usr/libexec/ld-elf.so.1: Shared object "libgtk2.so.2" not found.
> 
> Can anyone tell me how to fix this?

Depends on how you messed it up. If you were just fooling around with
ldconfig and managed to mangle the settings, you can recreate the
boot-time config by - in an sh-like shell - sourceing
/etc/defaults/rc.conf and then /etc/rc.conf, and doing:

	ldconfig -elf $ldconfig_paths
	ldconfig -aout $ldconfig_paths_aout

	<mike
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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?15146.39388.594210.473582>