Subject: Re: libXaw3d.so.6.1 not found by GV
To: Ian Goldby <ian@iangoldby.free-online.co.uk>
From: Frederick Bruckman <fb@enteract.com>
List: netbsd-help
Date: 04/01/2001 20:29:48
On Sun, 1 Apr 2001, Ian Goldby wrote:

> I hope this is an easy one. GV complains that it can't find the file
> libXaw3d.so.6.1. I suppose this is some kind of shared library. The file
> does exist, in /usr/pkg/lib.

That's strange. libXaw3d* belongs in /usr/X11R6/lib. Or did you build
Xaw3d yourself with "xpkgwedge"? ["xpkgwedge" is a system for
installing all X packages into /usr/pkg, rather that /usr/X11R6. I
can't help you with that.]

> I've also seen that other *.so.* files
> exist in /usr/lib and in /usr/X11R6/lib. Presumably, all I need to do is
> to tell GV to add /usr/pkg/lib to its search path for library files. How?

A quick fix is to add /usr/pkg/lib to LD_LIBRARY_PATH. (See rtld(1).)
The more enduring solution depends on whether you built "GV" yourself,
or if not, where you got the binary. What's "GV"?


Frederick