Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Oct 2008 22:48:14 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Cc:        Tom Stuart <freebsdemail@gmail.com>
Subject:   Re: KDE 4 Cannot run as regular user
Message-ID:  <200810142248.14928.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com>
References:  <5cdef660810072258o67330470n9b1f92a160716cfa@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 08 October 2008 07:58:14 Tom Stuart wrote:
> Hello,
>
> I just installed KDE4 via ports and am getting errors upon attempting
> to start as a "regular" user. When I run startkde as root it works
> fine but I don't want to use root on this machine.
>
> Error Generated when started as a regular user
> $ startx
> /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by
> "xauth" /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found,
> required by "xauth" /libexec/ld-elf.so.1: Shared object "libXau.so.6" not
> found, required by "xauth" /libexec/ld-elf.so.1: Shared object
> "libXau.so.6" not found, required by "xauth" /libexec/ld-elf.so.1: Shared
> object "libXau.so.6" not found, required by "xauth" /libexec/ld-elf.so.1:
> Shared object "libX11.so.6" not found, required by "xinit"
> /libexec/ld-elf.so.1: Shared object "libXau.so.6" not found, required by
> "xauth"
>
> The files are there
> $ ls -l /usr/local/lib/libXau.so /usr/local/lib/libX11.so
> lrwxr-xr-x  1 root  wheel  11 Oct  6 03:09 /usr/local/lib/libX11.so ->
> libX11.so.6
> lrwxr-xr-x  1 root  wheel  11 Oct  6 03:06 /usr/local/lib/libXau.so ->
> libXau.so.6

Where the files are on your system is of no concern. Whether ld(1) knows where 
they are is. ldconfig -r |grep Xau should show /usr/local/lib/libXau.so.6, if 
not, ldconfig -m /usr/local/lib run as root should fix your problem.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.



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